import { SvelteMap } from "svelte/reactivity"; import type { Task } from "../lib/task.svelte.js"; import type { FieldValue, Update } from "./model.js"; import type { Config } from "./config.js"; import type { FieldPath } from "./id.js"; import type { ValidationResult } from "./validator.js"; export declare class FileListValidationError { } export declare class InvalidValidatorError extends Error { } export type FieldErrors = Readonly; /** @deprecated */ export type FormErrorsMap = SvelteMap; export type FormSubmission = Task<[ event: SubmitEvent ], ValidationResult, unknown>; export type FieldsValidation = Task<[ config: Config, value: FieldValue ], Update, unknown>;