import type { FieldState } from './types.js'; /** * Internal form store — manages field state and notification. * Does not depend on React; used by hooks for state management. */ export declare function createFormStore(initialValues: any): { getFieldState: (path: string) => FieldState; updateFieldState: (path: string, patch: Partial) => void; subscribe: (path: string, listener: () => void) => () => void; subscribeGlobal: (listener: () => void) => () => void; getValues: () => any; setValues: (newValues: any) => void; resetAll: (newInitialValues?: any) => void; notifyAll: () => void; getAllFieldPaths: () => string[]; }; export type FormStore = ReturnType;