import { ValidateFnProp } from "./types"; export type InputState = { value?: TValue; disabled: boolean; errors: string[]; showErrors: boolean; }; export type InputAction = { type: "setValue"; value: TValue; } | { type: "setDisabled"; disabled?: boolean; } | { type: "validate"; required?: boolean; validate?: ValidateFnProp; } | { type: "setShowErrors"; showErrors: boolean; } | { type: "reset"; initialValue: TValue; initialDisabled: boolean; }; export declare const inputReducer: (state: InputState, action: InputAction) => InputState;