/** * Hook for managing validation errors * Returns a function to show errors and the current error state */ export declare const useValidationError: () => { error: string | null; showError: (message: string) => void; dismissError: () => void; ErrorComponent: import("react/jsx-runtime").JSX.Element | null; };