import type { Writable } from "svelte/store"; export declare type IFormStateValue = string | string[]; export interface IFormStateStore extends Writable { clear(): void; push_value(value: string): void; remove_value(value: string): void; } export declare const CONTEXT_FORM_STATE: unique symbol; export declare function formstate(default_value: IFormStateValue): IFormStateStore; export declare function get_formstate_context(context_id?: Symbol): IFormStateStore | undefined; export declare function make_formstate_context(default_value: IFormStateValue, context_id?: Symbol): IFormStateStore;