import { PromptBarCommand, PromptBarEmits, PromptBarMenuKind, PromptBarModel, PromptBarProps, PromptBarSendPayload, PromptBarSource, PromptBarVariant } from './src/types'; import { default as TxPromptBar } from './src/TxPromptBar.vue'; declare const PromptBar: { new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins & Readonly<{ onBlur?: ((event: FocusEvent) => any) | undefined; onFocus?: ((event: FocusEvent) => any) | undefined; onPaste?: ((event: ClipboardEvent) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; onSend?: ((payload: PromptBarSendPayload) => any) | undefined; onAttachmentAdd?: ((files: File[]) => any) | undefined; "onUpdate:model"?: ((key: string) => any) | undefined; "onUpdate:listening"?: ((listening: boolean) => any) | undefined; onAttach?: (() => any) | undefined; onAttachmentRemove?: ((id: string) => any) | undefined; onSourceSelect?: ((source: PromptBarSource) => any) | undefined; onCommandSelect?: ((command: PromptBarCommand) => any) | undefined; onConnectToggle?: ((source: PromptBarSource) => any) | undefined; }>, { focus: () => void; insert: (text: string) => void; closeMenus: () => void; menuOpen: import('vue').ComputedRef; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { blur: (event: FocusEvent) => any; focus: (event: FocusEvent) => any; paste: (event: ClipboardEvent) => any; "update:modelValue": (value: string) => any; send: (payload: PromptBarSendPayload) => any; attachmentAdd: (files: File[]) => any; "update:model": (key: string) => any; "update:listening": (listening: boolean) => any; attach: () => any; attachmentRemove: (id: string) => any; sourceSelect: (source: PromptBarSource) => any; commandSelect: (command: PromptBarCommand) => any; connectToggle: (source: PromptBarSource) => any; }, import('vue').PublicProps, { variant: PromptBarVariant; placeholder: string; listening: boolean; sendLabel: string; maxHeight: number; minHeight: number; sendOnEnter: boolean; allowEmptySend: boolean; dictatable: boolean; listeningPlaceholder: string; sourcesHintText: string; commandsHintText: string; connectText: string; connectedText: string; attachLabel: string; modelLabel: string; startDictationLabel: string; stopDictationLabel: string; attachmentFallbackLabel: string; }, false, {}, {}, Record, Record, string, { rootRef: HTMLDivElement; measureRef: HTMLSpanElement; controlsRef: HTMLDivElement; leadRef: HTMLDivElement; inputRef: HTMLTextAreaElement; trailRef: HTMLDivElement; }, HTMLDivElement, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly & Readonly<{ onBlur?: ((event: FocusEvent) => any) | undefined; onFocus?: ((event: FocusEvent) => any) | undefined; onPaste?: ((event: ClipboardEvent) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; onSend?: ((payload: PromptBarSendPayload) => any) | undefined; onAttachmentAdd?: ((files: File[]) => any) | undefined; "onUpdate:model"?: ((key: string) => any) | undefined; "onUpdate:listening"?: ((listening: boolean) => any) | undefined; onAttach?: (() => any) | undefined; onAttachmentRemove?: ((id: string) => any) | undefined; onSourceSelect?: ((source: PromptBarSource) => any) | undefined; onCommandSelect?: ((command: PromptBarCommand) => any) | undefined; onConnectToggle?: ((source: PromptBarSource) => any) | undefined; }>, { focus: () => void; insert: (text: string) => void; closeMenus: () => void; menuOpen: import('vue').ComputedRef; }, {}, {}, {}, { variant: PromptBarVariant; placeholder: string; listening: boolean; sendLabel: string; maxHeight: number; minHeight: number; sendOnEnter: boolean; allowEmptySend: boolean; dictatable: boolean; listeningPlaceholder: string; sourcesHintText: string; commandsHintText: string; connectText: string; connectedText: string; attachLabel: string; modelLabel: string; startDictationLabel: string; stopDictationLabel: string; attachmentFallbackLabel: string; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import('vue').ComponentOptionsBase & Readonly<{ onBlur?: ((event: FocusEvent) => any) | undefined; onFocus?: ((event: FocusEvent) => any) | undefined; onPaste?: ((event: ClipboardEvent) => any) | undefined; "onUpdate:modelValue"?: ((value: string) => any) | undefined; onSend?: ((payload: PromptBarSendPayload) => any) | undefined; onAttachmentAdd?: ((files: File[]) => any) | undefined; "onUpdate:model"?: ((key: string) => any) | undefined; "onUpdate:listening"?: ((listening: boolean) => any) | undefined; onAttach?: (() => any) | undefined; onAttachmentRemove?: ((id: string) => any) | undefined; onSourceSelect?: ((source: PromptBarSource) => any) | undefined; onCommandSelect?: ((command: PromptBarCommand) => any) | undefined; onConnectToggle?: ((source: PromptBarSource) => any) | undefined; }>, { focus: () => void; insert: (text: string) => void; closeMenus: () => void; menuOpen: import('vue').ComputedRef; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { blur: (event: FocusEvent) => any; focus: (event: FocusEvent) => any; paste: (event: ClipboardEvent) => any; "update:modelValue": (value: string) => any; send: (payload: PromptBarSendPayload) => any; attachmentAdd: (files: File[]) => any; "update:model": (key: string) => any; "update:listening": (listening: boolean) => any; attach: () => any; attachmentRemove: (id: string) => any; sourceSelect: (source: PromptBarSource) => any; commandSelect: (command: PromptBarCommand) => any; connectToggle: (source: PromptBarSource) => any; }, string, { variant: PromptBarVariant; placeholder: string; listening: boolean; sendLabel: string; maxHeight: number; minHeight: number; sendOnEnter: boolean; allowEmptySend: boolean; dictatable: boolean; listeningPlaceholder: string; sourcesHintText: string; commandsHintText: string; connectText: string; connectedText: string; attachLabel: string; modelLabel: string; startDictationLabel: string; stopDictationLabel: string; attachmentFallbackLabel: string; }, {}, string, {}, Record, Record, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => { $slots: Readonly<{ 'source-icon'?: (props: { source: PromptBarSource; }) => unknown; attachments?: (props: { attachments: import('..').AiAttachment[]; }) => unknown; actions?: (props: { send: () => void; canSend: boolean; }) => unknown; }> & { 'source-icon'?: (props: { source: PromptBarSource; }) => unknown; attachments?: (props: { attachments: import('..').AiAttachment[]; }) => unknown; actions?: (props: { send: () => void; canSend: boolean; }) => unknown; }; }) & import('vue').Plugin; export { PromptBar, TxPromptBar }; export { parseToken, useTokenMenu } from './src/use-token-menu'; export type { PromptBarToken, TokenMenuRow, UseTokenMenuOptions, UseTokenMenuReturn, } from './src/use-token-menu'; export type { PromptBarCommand, PromptBarEmits, PromptBarMenuKind, PromptBarModel, PromptBarProps, PromptBarSendPayload, PromptBarSource, PromptBarVariant, }; export type TxPromptBarInstance = InstanceType; export default PromptBar;