declare function getNav(): HTMLElement | null;
declare function getHistoryBlocks(): HTMLElement[] | [];
declare function getHistoryBlockTitle(historyBlock: HTMLElement): string;
interface HistoryBlock {
block: HTMLElement;
title: string;
}
declare function getHistoryBlocksWithTitle(): HistoryBlock[] | [];
declare function getTextarea(): HTMLTextAreaElement | undefined;
declare function getSubmitButton(): HTMLButtonElement | undefined;
declare function getInitialButtons(): HTMLButtonElement[];
declare function getFollowUpButtons(): HTMLButtonElement[];
declare function clickFollowUpButton(index: number): void;
declare function getButton(text: string): HTMLButtonElement | undefined;
declare function getRegenerateButton(): HTMLButtonElement | undefined;
declare function getContinueGeneratingButton(): HTMLButtonElement | undefined;
declare function getStopGeneratingButton(): Element | undefined;
declare function getResponseElementHTMLs(): string[];
declare function getLastResponseElement(): Element;
declare function getLastResponse(): string | null | undefined;
declare function getTextareaValue(): string;
declare function setTextarea(message: string): void;
declare function send(message: string): Promise;
declare function regenerate(): void;
declare function onSend(callback: () => void): void;
declare function isGenerating(): boolean;
declare function waitForIdle(): Promise;
declare function sendArray(messages: string[]): Promise;
declare function setPromptListener(key?: string): void;
declare function getConversation(): HTMLElement | undefined;
declare function getModelSelectButton(): HTMLElement | undefined;
declare function getNewModelSelectButtons(): HTMLElement[];
declare function hasNewModelSelectButtons(): boolean;
declare function isConversationStarted(): boolean;
declare function setPureConversation(): void;
declare function isHorizontalConversation(): boolean;
declare function setHorizontalConversation(): void;
declare function getShareChatButton(): Element | null;
declare function getCopyLinkButton(): Element;
declare const index_clickFollowUpButton: typeof clickFollowUpButton;
declare const index_getButton: typeof getButton;
declare const index_getContinueGeneratingButton: typeof getContinueGeneratingButton;
declare const index_getConversation: typeof getConversation;
declare const index_getCopyLinkButton: typeof getCopyLinkButton;
declare const index_getFollowUpButtons: typeof getFollowUpButtons;
declare const index_getHistoryBlockTitle: typeof getHistoryBlockTitle;
declare const index_getHistoryBlocks: typeof getHistoryBlocks;
declare const index_getHistoryBlocksWithTitle: typeof getHistoryBlocksWithTitle;
declare const index_getInitialButtons: typeof getInitialButtons;
declare const index_getLastResponse: typeof getLastResponse;
declare const index_getLastResponseElement: typeof getLastResponseElement;
declare const index_getModelSelectButton: typeof getModelSelectButton;
declare const index_getNav: typeof getNav;
declare const index_getNewModelSelectButtons: typeof getNewModelSelectButtons;
declare const index_getRegenerateButton: typeof getRegenerateButton;
declare const index_getResponseElementHTMLs: typeof getResponseElementHTMLs;
declare const index_getShareChatButton: typeof getShareChatButton;
declare const index_getStopGeneratingButton: typeof getStopGeneratingButton;
declare const index_getSubmitButton: typeof getSubmitButton;
declare const index_getTextarea: typeof getTextarea;
declare const index_getTextareaValue: typeof getTextareaValue;
declare const index_hasNewModelSelectButtons: typeof hasNewModelSelectButtons;
declare const index_isConversationStarted: typeof isConversationStarted;
declare const index_isGenerating: typeof isGenerating;
declare const index_isHorizontalConversation: typeof isHorizontalConversation;
declare const index_onSend: typeof onSend;
declare const index_regenerate: typeof regenerate;
declare const index_send: typeof send;
declare const index_sendArray: typeof sendArray;
declare const index_setHorizontalConversation: typeof setHorizontalConversation;
declare const index_setPromptListener: typeof setPromptListener;
declare const index_setPureConversation: typeof setPureConversation;
declare const index_setTextarea: typeof setTextarea;
declare const index_waitForIdle: typeof waitForIdle;
declare namespace index {
export {
index_clickFollowUpButton as clickFollowUpButton,
index_getButton as getButton,
index_getContinueGeneratingButton as getContinueGeneratingButton,
index_getConversation as getConversation,
index_getCopyLinkButton as getCopyLinkButton,
index_getFollowUpButtons as getFollowUpButtons,
index_getHistoryBlockTitle as getHistoryBlockTitle,
index_getHistoryBlocks as getHistoryBlocks,
index_getHistoryBlocksWithTitle as getHistoryBlocksWithTitle,
index_getInitialButtons as getInitialButtons,
index_getLastResponse as getLastResponse,
index_getLastResponseElement as getLastResponseElement,
index_getModelSelectButton as getModelSelectButton,
index_getNav as getNav,
index_getNewModelSelectButtons as getNewModelSelectButtons,
index_getRegenerateButton as getRegenerateButton,
index_getResponseElementHTMLs as getResponseElementHTMLs,
index_getShareChatButton as getShareChatButton,
index_getStopGeneratingButton as getStopGeneratingButton,
index_getSubmitButton as getSubmitButton,
index_getTextarea as getTextarea,
index_getTextareaValue as getTextareaValue,
index_hasNewModelSelectButtons as hasNewModelSelectButtons,
index_isConversationStarted as isConversationStarted,
index_isGenerating as isGenerating,
index_isHorizontalConversation as isHorizontalConversation,
index_onSend as onSend,
index_regenerate as regenerate,
index_send as send,
index_sendArray as sendArray,
index_setHorizontalConversation as setHorizontalConversation,
index_setPromptListener as setPromptListener,
index_setPureConversation as setPureConversation,
index_setTextarea as setTextarea,
index_waitForIdle as waitForIdle,
};
}
export { getConversation as A, getModelSelectButton as B, getNewModelSelectButtons as C, hasNewModelSelectButtons as D, isConversationStarted as E, setPureConversation as F, isHorizontalConversation as G, setHorizontalConversation as H, getShareChatButton as I, getCopyLinkButton as J, getHistoryBlocks as a, getHistoryBlockTitle as b, getHistoryBlocksWithTitle as c, getTextarea as d, getSubmitButton as e, getInitialButtons as f, getNav as g, getFollowUpButtons as h, index as i, clickFollowUpButton as j, getButton as k, getRegenerateButton as l, getContinueGeneratingButton as m, getStopGeneratingButton as n, getResponseElementHTMLs as o, getLastResponseElement as p, getLastResponse as q, getTextareaValue as r, setTextarea as s, send as t, regenerate as u, onSend as v, isGenerating as w, waitForIdle as x, sendArray as y, setPromptListener as z };