import type { ProfileStore } from "../profiles"; /** Raw shape exported by generated table modules. */ export type TableModule = Readonly<{ id: string; description: string; type: string; codes: readonly TableCodeEntry[]; }>; /** A single code entry within a table. */ export type TableCodeEntry = Readonly<{ name: string; description: string; }>; /** * Compiled table definition. * Returned by `profiles.tables.load()`. */ export type TableDefinition = Readonly<{ id: string; description: string; type: "user" | "hl7"; /** O(1) lookup of code entry by name. */ codes: ReadonlyMap; }>; /** The loader of table profiles. */ export declare const tables: ProfileStore; //# sourceMappingURL=tables.d.ts.map