import type { Ref } from 'vue'; export interface FormValidation { field: string; errors: string[]; message?: string; } export interface ValidationContext { validation: Ref>; add: (field: string) => void; set: (field: string, errors: string[], message: string) => void; clear: () => void; get: (field: string) => FormValidation | undefined; reset: () => void; } export declare function useValidation(): { validation: Ref, Record>; add: (field: string) => void; set: (field: string, errors?: string[], message?: string) => void; clear: () => void; get: (field: string) => FormValidation; reset: () => void; }; export declare function useValidationContext(): ValidationContext | undefined;