import { type z } from '@frontmcp/lazy-zod'; import { type FlowName } from '../../metadata'; type RequiredView = { [K in keyof T]-?: Exclude; }; type StateAccess = { [K in keyof T]: T[K] | undefined; } & { required: RequiredView; }; type StateType = z.infer; export type FlowStateOf> = StateAccess & { get(key: K): T[K] | undefined; getOrThrow(key: K, message?: string): Exclude; set(key: K, value: T[K]): FlowStateOf; set(patch: Partial): FlowStateOf; snapshot(): Readonly>; }; export declare class FlowState { private constructor(); static create>(initial?: Partial): FlowStateOf; } export {}; //# sourceMappingURL=flow.utils.d.ts.map