import { getOptionalValidationContext } from "@json-render/svelte"; type ValidateOn = "change" | "blur" | "submit"; type ValidationCheck = { type: string; message: string; args?: Record; }; export type ValidationCtx = ReturnType; export declare function getPaginationRange(current: number, total: number): Array; export declare function createValidation(validation: ValidationCtx, path?: string, checks?: ValidationCheck[] | null): { hasValidation: boolean; register: (validateOn: ValidateOn) => void; run: (validateOn: ValidateOn) => string[]; }; export {}; //# sourceMappingURL=helpers.d.ts.map