type ValidationResult = unknown; interface ComponentInstance { __gdsValidationAttempted?: boolean; component?: { clearOnHide?: boolean; }; pristine: boolean; root?: ValidationRoot; setPristine?: (pristine: boolean) => void; setCustomValidity: (messages: unknown) => ValidationResult; visible?: boolean; } interface ValidationRoot { __gdsValidationAttemptInProgress?: boolean; submitting?: boolean; } interface ComponentPrototype { __gdsDeferPristineErrorsInstalled?: boolean; checkComponentConditions: (this: ComponentInstance, data?: unknown, flags?: unknown, row?: unknown) => boolean; setComponentValidity: (this: ComponentInstance, errors: unknown[], dirty: boolean, silentCheck: boolean) => ValidationResult; } interface ComponentConstructor { prototype: ComponentPrototype; } interface WizardPrototype extends ValidationRoot { __gdsDeferPristineErrorsInstalled?: boolean; nextPage: (...args: unknown[]) => unknown; } interface WizardConstructor { prototype: WizardPrototype; } /** * Restores Form.io v4 validation timing in v5. Errors on pristine components are * not rendered (`setCustomValidity` is deferred) until the component has changed * or is validated as dirty. Validation itself still runs. */ export declare const installDeferredPristineErrors: (ComponentClass?: ComponentConstructor, WizardClass?: WizardConstructor) => void; export {}; //# sourceMappingURL=deferPristineErrors.d.ts.map