import { type UndoRetryData, type EditData } from "./utils"; import type { NormalisedMessage } from "../types"; import type { CopyData } from "@gradio/utils"; import type { CustomButton as CustomButtonType } from "@gradio/utils"; import type { SelectData, LikeData } from "@gradio/utils"; import type { ExampleMessage } from "../types"; import type { FileData, Client } from "@gradio/client"; import type { I18nFormatter } from "js/core/src/gradio_helper"; import { Gradio } from "@gradio/utils"; type $$ComponentProps = { value?: NormalisedMessage[] | null; _fetch: typeof fetch; load_component: Gradio["load_component"]; allow_file_downloads: boolean; display_consecutive_in_same_bubble: boolean; latex_delimiters: { left: string; right: string; display: boolean; }[]; pending_message?: boolean; generating?: boolean; selectable?: boolean; likeable?: boolean; feedback_options: string[]; feedback_value?: (string | null)[] | null; editable?: "user" | "all" | null; show_share_button?: boolean; show_copy_all_button?: boolean; rtl?: boolean; show_copy_button?: boolean; buttons?: (string | CustomButtonType)[] | null; on_custom_button_click?: ((id: number) => void) | null; avatar_images?: [FileData | null, FileData | null]; sanitize_html?: boolean; render_markdown?: boolean; line_breaks?: boolean; autoscroll?: boolean; theme_mode: "system" | "light" | "dark"; i18n: I18nFormatter; layout?: "bubble" | "panel"; placeholder?: string | null; upload: Client["upload"]; examples?: ExampleMessage[] | null; _retryable?: boolean; _undoable?: boolean; like_user_message?: boolean; allow_tags?: string[] | boolean; watermark?: string | null; show_progress?: "full" | "minimal" | "hidden"; onchange?: () => void; onselect?: (data: SelectData) => void; onlike?: (data: LikeData) => void; onedit?: (data: EditData) => void; onundo?: (data: UndoRetryData) => void; onretry?: (data: UndoRetryData) => void; onclear?: () => void; onshare?: (data: any) => void; onerror?: (message: string) => void; onexampleselect?: (data: SelectData) => void; onoptionselect?: (data: SelectData) => void; oncopy?: (data: CopyData) => void; }; declare const ChatBot: import("svelte").Component<$$ComponentProps, {}, "">; type ChatBot = ReturnType; export default ChatBot;