import { AutocompleteSearchOptions, SearchOptions, SearchPopularOptions, SearchTitleOptions } from '../interfaces'; /** _____ ______ _____ _____ _ _ / ____| ____| /\ | __ \ / ____| | | | | (___ | |__ / \ | |__) | | | |__| | \___ \| __| / /\ \ | _ /| | | __ | ____) | |____ / ____ \| | \ \| |____| | | | |_____/|______/_/ \_\_| \_\\_____|_| |_| */ /** * Search for content * @param {SearchOptions} q Search query * @returns {Promise} Search result * @example search({ q: 'Exit' }) * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const search: (q: SearchOptions) => Promise; /** * Search for content with autocomplete * @param {AutocompleteSearchOptions} q Search query * @returns {Promise} Search result * @example searchAutocomplete({ q: 'Exit' }) * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const searchAutocomplete: (q: AutocompleteSearchOptions) => Promise; /** * Seach for tv titles * @param {SearchTitleOptions} q Search query * @returns {Promise} Search result * @example searchTvTitles({ q: 'Exit' }) * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const searchTvTitles: (q: SearchTitleOptions) => Promise; /** * Search for tv titles by id * @param {string} id Search query * @returns {Promise} Search result * @example searchById('KOIF75001319') * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const searchById: (id: string) => Promise; /** * Search for tv titles by ids * @param {string[]} ids Search query * @returns {Promise} Search result * @example searchByIds(['KOIF75001319', 'KOIF75001320']) * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const searchByIds: (ids: string[]) => Promise; /** * Search for popular tv titles * @param {SearchPopularOptions} q Search query * @returns {Promise} Search result * @example searchPopularTv() * @throws {PageNotFoundError} if the page doesn't exist * @throws {RateLimitError} if the rate limit is exceeded * @throws {AgeRestrictionError} if the item is age restricted * @throws {AxiosError} if the request fails */ export declare const searchPopularTv: (q?: SearchPopularOptions) => Promise;