import { User } from '../structures/user.ts'; import { Channel } from '../structures/channel.ts'; import { Video } from '../structures/video.ts'; import { SearchResult, SearchType, type SearchOptions } from '../structures/search.ts'; import type { Live } from '../structures/live.ts'; import { RESTClient } from '../utils/rest.ts'; import type { ChannelPayload } from '../types/channel.ts'; import type { VideoPayload } from '../types/video.ts'; import type { SearchResultCleaned } from '../types/search.ts'; import type { LivePayload } from '../types/live.ts'; export declare class Client { rest: RESTClient; constructor({ auth, session }?: { auth?: string; session?: string; }); setCredentials({ auth, session }?: { auth?: string; session?: string; }): void; getUser(): Promise; getChannel(channelId: string): Promise; getVideo(videoId: string): Promise