mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-29 16:44:58 +05:00
20 lines
511 B
TypeScript
20 lines
511 B
TypeScript
import { QueryType } from "../types/types";
|
|
declare class QueryResolver {
|
|
/**
|
|
* Query resolver
|
|
*/
|
|
private constructor();
|
|
/**
|
|
* Resolves the given search query
|
|
* @param {string} query The query
|
|
* @returns {QueryType}
|
|
*/
|
|
static resolve(query: string): Promise<QueryType>;
|
|
/**
|
|
* Parses vimeo id from url
|
|
* @param {string} query The query
|
|
* @returns {string}
|
|
*/
|
|
static getVimeoID(query: string): Promise<string>;
|
|
}
|
|
export { QueryResolver };
|