import { SvelteComponent } from "svelte"; import type { FileData, Client } from "@gradio/client"; import type { NormalisedMessage } from "../types"; import type { I18nFormatter } from "js/core/src/gradio_helper"; import type { ComponentType } from "svelte"; 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 Message: $$__sveltets_2_IsomorphicComponent<{ value: NormalisedMessage[]; avatar_img: FileData | null; opposite_avatar_img?: FileData | null; role?: string; messages?: NormalisedMessage[]; layout: "bubble" | "panel"; render_markdown: boolean; latex_delimiters: { left: string; right: string; display: boolean; }[]; sanitize_html: boolean; selectable: boolean; _fetch: typeof fetch; rtl: boolean; dispatch: any; i18n: I18nFormatter; line_breaks: boolean; upload: Client["upload"]; target: HTMLElement | null; theme_mode: "light" | "dark" | "system"; _components: Record>; i: number; show_copy_button: boolean; generating: boolean; feedback_options: string[]; show_like: boolean; show_edit: boolean; show_retry: boolean; show_undo: boolean; handle_action: (selected: string | null) => void; scroll: () => void; allow_file_downloads: boolean; in_edit_mode: boolean; edit_messages: string[]; display_consecutive_in_same_bubble: boolean; current_feedback?: string | null; allow_tags?: string[] | boolean; watermark?: string | null; }, { [evt: string]: CustomEvent; }, {}, {}, string>; type Message = InstanceType; export default Message;