import type { ComponentProps, FC, ReactNode } from 'react'; import { DeepPartial } from '..'; import type { FlowbiteBoolean, FlowbiteColors, FlowbiteSizes } from '../Flowbite/FlowbiteTheme'; export interface FlowbiteTextInputTheme { base: string; addon: string; field: { base: string; icon: { base: string; svg: string; }; rightIcon: { base: string; svg: string; }; input: { base: string; sizes: TextInputSizes; colors: TextInputColors; withIcon: FlowbiteBoolean; withRightIcon: FlowbiteBoolean; withAddon: FlowbiteBoolean; withShadow: FlowbiteBoolean; }; }; } export interface TextInputColors extends Pick { [key: string]: string; } export interface TextInputSizes extends Pick { [key: string]: string; } export interface TextInputProps extends Omit, 'ref' | 'color'> { sizing?: keyof TextInputSizes; shadow?: boolean; helperText?: ReactNode; addon?: ReactNode; icon?: FC>; rightIcon?: FC>; color?: keyof TextInputColors; theme?: DeepPartial; } export declare const TextInput: import("react").ForwardRefExoticComponent>;