import YouTube, { IDEntity, Resolvable, ResolvableClass, ResolveReturn } from '..'; /** * @ignore */ export declare class ResolutionService { private youtube; constructor(youtube: YouTube); resolve | Resolvable[], K extends ResolvableClass>(input: T, type: K): Promise>; /** * @returns After attempting to parse the input as a URL, will return either an ID string or entity object depending on * whether or not the string contains an ID. Note that legacy custom channel URLs use searches, while * the new @ username URLs use fetches (much cheaper on quota). * **Anything that isn't an ID, Entity, or Username URL returns the first result of a search query of `type`.** */ resolveStringToIdOrEntity(input: string, type: T): Promise>; resolveUrl(input: string, type: T): Promise<{ searchQuery?: string; resolution?: Resolvable; }>; resolveIdOrSearch(input: string, type: T): Promise>; static toId(entityOrId: string | IDEntity): string; }