import type { CopilotChatInputMode, ToolsMenuItem } from "./types"; type MenuEntry = ToolsMenuItem | "-"; type MenuDisplayEntry = { type: "separator"; key: string; } | { type: "label"; key: string; label: string; depth: number; } | { type: "item"; key: string; label: string; depth: number; action: () => void; }; type __VLS_Props = { modelValue?: string; disabled?: boolean; placeholder?: string; autoFocus?: boolean; clearOnSubmit?: boolean; mode?: CopilotChatInputMode; toolsMenu?: MenuEntry[]; isRunning?: boolean; positioning?: "static" | "absolute"; keyboardHeight?: number; showDisclaimer?: boolean; maxRows?: number; /** * Set to `true` when the input sits at the bottom of its container as a * flex-last-child (visible position is driven by layout, not CSS * positioning). Triggers reservation of bottom space for the fixed * CopilotKit license banner via the * `--copilotkit-license-banner-offset` CSS var so the two don't overlap. * * Not needed when `positioning === "absolute"`; that mode already pins * the input to the bottom and picks up the same reservation * automatically. Leave unset (default `false`) for inputs rendered * mid-layout such as the welcome screen, where the banner offset would * push the input off-center. */ bottomAnchored?: boolean; }; declare function updateInputValue(nextValue: string): void; declare function submit(): void; declare function handleInput(event: Event): void; declare function handleSendButtonClick(): void; declare function handleKeydown(event: KeyboardEvent): void; declare function toggleAddMenu(): void; declare function handleMenuAction(action: () => void): void; declare function handleFinishTranscribe(): Promise; declare var __VLS_1: { mode: CopilotChatInputMode; isMultiline: boolean; value: string; disabled: boolean; placeholder: string; isProcessing: boolean; sendDisabled: boolean; menuOpen: boolean; menuItems: MenuDisplayEntry[]; onToggleMenu: typeof toggleAddMenu; onMenuAction: typeof handleMenuAction; onUpdateValue: typeof updateInputValue; onSubmit: typeof submit; onKeydown: typeof handleKeydown; onSendClick: typeof handleSendButtonClick; onStartTranscribe: () => void; onCancelTranscribe: () => void; onFinishTranscribe: typeof handleFinishTranscribe; }, __VLS_3: { disabled: boolean; menuOpen: boolean; toggleMenu: typeof toggleAddMenu; labels: { readonly chatInputPlaceholder: "Type a message..."; readonly chatInputToolbarStartTranscribeButtonLabel: "Transcribe"; readonly chatInputToolbarCancelTranscribeButtonLabel: "Cancel"; readonly chatInputToolbarFinishTranscribeButtonLabel: "Finish"; readonly chatInputToolbarAddButtonLabel: "Add photos or files"; readonly chatInputToolbarToolsButtonLabel: "Tools"; readonly assistantMessageToolbarCopyCodeLabel: "Copy"; readonly assistantMessageToolbarCopyCodeCopiedLabel: "Copied"; readonly assistantMessageToolbarCopyMessageLabel: "Copy"; readonly assistantMessageToolbarThumbsUpLabel: "Good response"; readonly assistantMessageToolbarThumbsDownLabel: "Bad response"; readonly assistantMessageToolbarReadAloudLabel: "Read aloud"; readonly assistantMessageToolbarRegenerateLabel: "Regenerate"; readonly userMessageToolbarCopyMessageLabel: "Copy"; readonly userMessageToolbarEditMessageLabel: "Edit"; readonly chatDisclaimerText: "AI can make mistakes. Please verify important information."; readonly chatToggleOpenLabel: "Open chat"; readonly chatToggleCloseLabel: "Close chat"; readonly modalHeaderTitle: "CopilotKit Chat"; readonly welcomeMessageText: "How can I help you today?"; }; }, __VLS_13: {}, __VLS_24: { value: string; disabled: boolean; placeholder: string; onInput: typeof handleInput; onKeydown: typeof handleKeydown; autoFocus: boolean; isExpanded: boolean; rows: number; labels: { readonly chatInputPlaceholder: "Type a message..."; readonly chatInputToolbarStartTranscribeButtonLabel: "Transcribe"; readonly chatInputToolbarCancelTranscribeButtonLabel: "Cancel"; readonly chatInputToolbarFinishTranscribeButtonLabel: "Finish"; readonly chatInputToolbarAddButtonLabel: "Add photos or files"; readonly chatInputToolbarToolsButtonLabel: "Tools"; readonly assistantMessageToolbarCopyCodeLabel: "Copy"; readonly assistantMessageToolbarCopyCodeCopiedLabel: "Copied"; readonly assistantMessageToolbarCopyMessageLabel: "Copy"; readonly assistantMessageToolbarThumbsUpLabel: "Good response"; readonly assistantMessageToolbarThumbsDownLabel: "Bad response"; readonly assistantMessageToolbarReadAloudLabel: "Read aloud"; readonly assistantMessageToolbarRegenerateLabel: "Regenerate"; readonly userMessageToolbarCopyMessageLabel: "Copy"; readonly userMessageToolbarEditMessageLabel: "Edit"; readonly chatDisclaimerText: "AI can make mistakes. Please verify important information."; readonly chatToggleOpenLabel: "Open chat"; readonly chatToggleCloseLabel: "Close chat"; readonly modalHeaderTitle: "CopilotKit Chat"; readonly welcomeMessageText: "How can I help you today?"; }; }, __VLS_26: { disabled: boolean; onClick: () => void; labels: { readonly chatInputPlaceholder: "Type a message..."; readonly chatInputToolbarStartTranscribeButtonLabel: "Transcribe"; readonly chatInputToolbarCancelTranscribeButtonLabel: "Cancel"; readonly chatInputToolbarFinishTranscribeButtonLabel: "Finish"; readonly chatInputToolbarAddButtonLabel: "Add photos or files"; readonly chatInputToolbarToolsButtonLabel: "Tools"; readonly assistantMessageToolbarCopyCodeLabel: "Copy"; readonly assistantMessageToolbarCopyCodeCopiedLabel: "Copied"; readonly assistantMessageToolbarCopyMessageLabel: "Copy"; readonly assistantMessageToolbarThumbsUpLabel: "Good response"; readonly assistantMessageToolbarThumbsDownLabel: "Bad response"; readonly assistantMessageToolbarReadAloudLabel: "Read aloud"; readonly assistantMessageToolbarRegenerateLabel: "Regenerate"; readonly userMessageToolbarCopyMessageLabel: "Copy"; readonly userMessageToolbarEditMessageLabel: "Edit"; readonly chatDisclaimerText: "AI can make mistakes. Please verify important information."; readonly chatToggleOpenLabel: "Open chat"; readonly chatToggleCloseLabel: "Close chat"; readonly modalHeaderTitle: "CopilotKit Chat"; readonly welcomeMessageText: "How can I help you today?"; }; }, __VLS_32: { disabled: boolean; onClick: typeof handleFinishTranscribe; labels: { readonly chatInputPlaceholder: "Type a message..."; readonly chatInputToolbarStartTranscribeButtonLabel: "Transcribe"; readonly chatInputToolbarCancelTranscribeButtonLabel: "Cancel"; readonly chatInputToolbarFinishTranscribeButtonLabel: "Finish"; readonly chatInputToolbarAddButtonLabel: "Add photos or files"; readonly chatInputToolbarToolsButtonLabel: "Tools"; readonly assistantMessageToolbarCopyCodeLabel: "Copy"; readonly assistantMessageToolbarCopyCodeCopiedLabel: "Copied"; readonly assistantMessageToolbarCopyMessageLabel: "Copy"; readonly assistantMessageToolbarThumbsUpLabel: "Good response"; readonly assistantMessageToolbarThumbsDownLabel: "Bad response"; readonly assistantMessageToolbarReadAloudLabel: "Read aloud"; readonly assistantMessageToolbarRegenerateLabel: "Regenerate"; readonly userMessageToolbarCopyMessageLabel: "Copy"; readonly userMessageToolbarEditMessageLabel: "Edit"; readonly chatDisclaimerText: "AI can make mistakes. Please verify important information."; readonly chatToggleOpenLabel: "Open chat"; readonly chatToggleCloseLabel: "Close chat"; readonly modalHeaderTitle: "CopilotKit Chat"; readonly welcomeMessageText: "How can I help you today?"; }; }, __VLS_38: { disabled: boolean; onClick: () => void; labels: { readonly chatInputPlaceholder: "Type a message..."; readonly chatInputToolbarStartTranscribeButtonLabel: "Transcribe"; readonly chatInputToolbarCancelTranscribeButtonLabel: "Cancel"; readonly chatInputToolbarFinishTranscribeButtonLabel: "Finish"; readonly chatInputToolbarAddButtonLabel: "Add photos or files"; readonly chatInputToolbarToolsButtonLabel: "Tools"; readonly assistantMessageToolbarCopyCodeLabel: "Copy"; readonly assistantMessageToolbarCopyCodeCopiedLabel: "Copied"; readonly assistantMessageToolbarCopyMessageLabel: "Copy"; readonly assistantMessageToolbarThumbsUpLabel: "Good response"; readonly assistantMessageToolbarThumbsDownLabel: "Bad response"; readonly assistantMessageToolbarReadAloudLabel: "Read aloud"; readonly assistantMessageToolbarRegenerateLabel: "Regenerate"; readonly userMessageToolbarCopyMessageLabel: "Copy"; readonly userMessageToolbarEditMessageLabel: "Edit"; readonly chatDisclaimerText: "AI can make mistakes. Please verify important information."; readonly chatToggleOpenLabel: "Open chat"; readonly chatToggleCloseLabel: "Close chat"; readonly modalHeaderTitle: "CopilotKit Chat"; readonly welcomeMessageText: "How can I help you today?"; }; }, __VLS_44: { disabled: boolean; isProcessing: boolean; onClick: typeof handleSendButtonClick; }, __VLS_54: { labels: { readonly chatInputPlaceholder: "Type a message..."; readonly chatInputToolbarStartTranscribeButtonLabel: "Transcribe"; readonly chatInputToolbarCancelTranscribeButtonLabel: "Cancel"; readonly chatInputToolbarFinishTranscribeButtonLabel: "Finish"; readonly chatInputToolbarAddButtonLabel: "Add photos or files"; readonly chatInputToolbarToolsButtonLabel: "Tools"; readonly assistantMessageToolbarCopyCodeLabel: "Copy"; readonly assistantMessageToolbarCopyCodeCopiedLabel: "Copied"; readonly assistantMessageToolbarCopyMessageLabel: "Copy"; readonly assistantMessageToolbarThumbsUpLabel: "Good response"; readonly assistantMessageToolbarThumbsDownLabel: "Bad response"; readonly assistantMessageToolbarReadAloudLabel: "Read aloud"; readonly assistantMessageToolbarRegenerateLabel: "Regenerate"; readonly userMessageToolbarCopyMessageLabel: "Copy"; readonly userMessageToolbarEditMessageLabel: "Edit"; readonly chatDisclaimerText: "AI can make mistakes. Please verify important information."; readonly chatToggleOpenLabel: "Open chat"; readonly chatToggleCloseLabel: "Close chat"; readonly modalHeaderTitle: "CopilotKit Chat"; readonly welcomeMessageText: "How can I help you today?"; }; }; type __VLS_Slots = {} & { layout?: (props: typeof __VLS_1) => any; } & { 'add-menu-button'?: (props: typeof __VLS_3) => any; } & { 'audio-recorder'?: (props: typeof __VLS_13) => any; } & { 'text-area'?: (props: typeof __VLS_24) => any; } & { 'cancel-transcribe-button'?: (props: typeof __VLS_26) => any; } & { 'finish-transcribe-button'?: (props: typeof __VLS_32) => any; } & { 'start-transcribe-button'?: (props: typeof __VLS_38) => any; } & { 'send-button'?: (props: typeof __VLS_44) => any; } & { disclaimer?: (props: typeof __VLS_54) => any; }; declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { stop: () => any; "update:modelValue": (value: string) => any; "submit-message": (value: string) => any; "add-file": () => any; "start-transcribe": () => any; "cancel-transcribe": () => any; "finish-transcribe": () => any; "finish-transcribe-with-audio": (audioBlob: Blob) => any; }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onStop?: (() => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; "onSubmit-message"?: ((value: string) => any) | undefined; "onAdd-file"?: (() => any) | undefined; "onStart-transcribe"?: (() => any) | undefined; "onCancel-transcribe"?: (() => any) | undefined; "onFinish-transcribe"?: (() => any) | undefined; "onFinish-transcribe-with-audio"?: ((audioBlob: Blob) => any) | undefined; }>, { mode: CopilotChatInputMode; disabled: boolean; isRunning: boolean; autoFocus: boolean; clearOnSubmit: boolean; toolsMenu: MenuEntry[]; positioning: "static" | "absolute"; keyboardHeight: number; showDisclaimer: boolean; maxRows: number; bottomAnchored: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //# sourceMappingURL=CopilotChatInput.vue.d.ts.map