/** * State Module — Storage Layout Schema * * Maps collection names to their `.squad/` file paths. * Single-entity collections use a static string; multi-entity * collections use a function that derives the path from an entity id. */ import type { CollectionName } from './collection-map.js'; /** Either a static path or a function deriving a path from an entity id. */ export type CollectionPathResolver = string | ((id: string) => string); /** * Canonical mapping from collection names to `.squad/` relative paths. * * Static paths point to a single file (e.g. `decisions.md`). * Function paths resolve per-entity directories (e.g. `agents/`). */ export declare const COLLECTION_PATHS: Record; /** * Resolve the storage path for a collection, optionally with an entity id. * * @throws {Error} if the collection requires an id but none was provided. */ export declare function resolveCollectionPath(collection: CollectionName, id?: string): string; //# sourceMappingURL=schema.d.ts.map