import { Dispatch } from "react";
import { InputAction } from "./reducer";
export type StateSetters<TValue> = {
    setValue: (value: TValue) => void;
    setDisabled: (disabled?: boolean) => void;
    setShowErrors: (showErrors: boolean) => void;
    reset: () => void;
};
export declare const useStateSetters: <TValue>(dispatch: Dispatch<InputAction<TValue>>, initialState: {
    value: TValue;
    disabled: boolean;
}) => StateSetters<TValue>;
