export interface SchemaIssue { readonly path: string; readonly message: string; } export interface StateSchema { readonly version: number; check(value: unknown): value is Value; issues(value: unknown): readonly SchemaIssue[]; assert(value: unknown): asserts value is Value; } export type Shape = Readonly>; export declare function forgeSchema(version: number, shape: Shape): StateSchema; //# sourceMappingURL=schema.d.ts.map