import { FetchOptions, GetLiveChatResponse } from "./types/yt-response"; import { ChatItem, ChatType } from "./types/data"; export declare function getOptionsFromLivePage(data: string, chatType?: ChatType): FetchOptions & { liveId: string; }; /** * get_live_chat レスポンスを変換 * * Returns the items, the next continuation token, and the poll delay YouTube requests. * An empty continuation means the stream has ended and polling should stop. */ export declare function parseChatData(data: GetLiveChatResponse): [ChatItem[], string, number];