import { FetchOptions } from "./types/yt-response"; import { ChatItem, ChatType } from "./types/data"; /** * Fetch one page of chat. * * Returns the items, the next continuation token, and how long YouTube asks us to wait before * asking again. An empty continuation means the stream is over. */ export declare function fetchChat(options: FetchOptions): Promise<[ChatItem[], string, number]>; export declare function fetchLivePage(id: { channelId: string; } | { liveId: string; } | { handle: string; }, chatType?: ChatType): Promise;