export type UseTextInputStateProps = { defaultValue?: string; suggestions?: string[]; onChange?: (value: string) => void; onSubmit?: (value: string) => void; }; export type TextInputState = { previousValue: () => string; value: () => string; cursorOffset: () => number; suggestion: () => string | undefined; moveCursorLeft: () => void; moveCursorRight: () => void; insert: (text: string) => void; delete: () => void; submit: () => void; }; export declare const useTextInputState: ({ defaultValue, suggestions, onChange, onSubmit, }?: UseTextInputStateProps) => TextInputState; //# sourceMappingURL=use-text-input-state.svelte.d.ts.map