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"; interface $$__sveltets_2_IsomorphicComponent = any, Events extends Record = any, Slots extends Record = any, Exports = {}, Bindings = string> { new (options: import('svelte').ComponentConstructorOptions): import('svelte').SvelteComponent & { $$bindings?: Bindings; } & Exports; (internal: unknown, props: Props & { $$events?: Events; $$slots?: Slots; }): Exports & { $set?: any; $on?: any; }; z_$$bindings?: Bindings; } declare const ChatBot: $$__sveltets_2_IsomorphicComponent<{ 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"; }, { change: CustomEvent; select: CustomEvent; like: CustomEvent; edit: CustomEvent; undo: CustomEvent; retry: CustomEvent; clear: CustomEvent; share: CustomEvent; error: CustomEvent; example_select: CustomEvent; option_select: CustomEvent; copy: CustomEvent; } & { [evt: string]: CustomEvent; }, {}, {}, string>; type ChatBot = InstanceType; export default ChatBot;