export declare function useDirty(getValidate: () => () => any): { onChange: (e: Event) => void; onFocusout: (e: FocusEvent) => void; isDirty: import("../../hooks/useState").State; reset: () => void; };