interface IValidator { (value: string): string | boolean; } type ValidationSchema = Record; type IFormState = { [key: string]: string | number | Date | boolean | Function | Record; isDirty: boolean; hasErrors: boolean; data: () => Record; transform: (callback: (data: Record) => any) => IFormState; validationSchema: (schema: ValidationSchema) => IFormState; reset: () => IFormState; submit: (name: string, options: Record) => void; validate: (schema?: ValidationSchema) => boolean; submitForm: (method: string | Function, options: Record) => void; submitEvent: (event: string) => void; }; type IFormConfig = { emit?: (event: string, data: any) => void; axiosInstance?: any; }; export declare const useForm: (props: Record, config?: IFormConfig) => IFormState; export declare const validators: { isRequired(value: string): true | "URL is required"; isUrl(value: string): true | "Invalid URL"; }; export {};