import type { Writable } from 'svelte/store'; export declare type formStoreValueType = { values: { [index: string]: any; }; errors: { [index: string]: { [index: string]: string; }; }; }; export declare type formStoreType = { subscribe: Writable['subscribe']; set: any; update: any; required: (field: string) => void; mustMatch: (field: string, fieldToMatch: string) => void; maxNumOptions: (field: string, max: number) => void; minNumOptions: (field: string, min: number) => void; customValidator: (func: (store: formStoreValueType) => formStoreValueType) => void; }; export declare type validateType = { required: (field: string) => void; mustMatch: (field: string, fieldToMatch: string) => void; minNumOptions: (field: string, min: number) => void; maxNumOptions: (field: string, min: number) => void; customValidator: (func: (store: formStoreValueType) => formStoreValueType) => void; }; export declare type validate = (input: validateType) => void; export declare type handleSubmit = (userInput: formStoreValueType) => void; export declare type initValue = { [key: string]: any; };