import { DefineComponent } from 'vue'; import { defaultTextInputTheme, TextInputRenderTheme } from '@wolf-tui/shared'; export interface TextInputProps { /** * When disabled, user input is ignored. * * @default false */ isDisabled?: boolean; /** * Text to display when input is empty. */ placeholder?: string; /** * Default input value. */ defaultValue?: string; /** * Suggestions to autocomplete the input value. */ suggestions?: string[]; /** * Callback when input value changes. */ onChange?: (value: string) => void; /** * Callback when enter is pressed. First argument is input value. */ onSubmit?: (value: string) => void; } export declare const TextInput: DefineComponent; export { defaultTextInputTheme as textInputTheme, type TextInputRenderTheme as TextInputTheme, }; export type { TextInputProps as Props, TextInputProps as IProps }; //# sourceMappingURL=TextInput.d.ts.map