/** * @module registry * In-memory store for all data generated within a world. * Keys are Zod schema object references (not strings). */ import type { ZodTypeAny } from "zod"; import type { Registry, Prng } from "./types.js"; export declare class SchemaRegistry implements Registry { private readonly prng; private readonly buckets; constructor(prng: Prng); store(schema: ZodTypeAny, item: unknown): void; all(schema: ZodTypeAny): T[]; pick(schema: ZodTypeAny): T; filter(schema: ZodTypeAny, predicate: (item: T) => boolean): T[]; find(schema: ZodTypeAny, predicate: (item: T) => boolean): T | undefined; count(schema: ZodTypeAny): number; } //# sourceMappingURL=registry.d.ts.map