/** * Generic runtime index generator for lexicon packages. * * Produces the `index.ts` file containing factory constructor exports * (`createResource`, `createProperty`) and collision-safe re-exports. */ export interface RuntimeIndexConfig { /** Lexicon identifier: "aws", "terraform", etc. */ lexiconName: string; /** Optional re-exports of intrinsic functions. */ intrinsicReExports?: { names: string[]; from: string; }; /** Optional re-exports of pseudo-parameters. */ pseudoReExports?: { names: string[]; from: string; }; } export interface RuntimeIndexEntry { tsName: string; resourceType: string; attrs: Record; } export interface RuntimeIndexPropertyEntry { tsName: string; resourceType: string; } /** * Generate the runtime index.ts content with factory constructor exports. * * Phases: * 1. Banner + import createResource/createProperty * 2. Sort and emit resource exports * 3. Sort and emit property exports * 4. Collision-safe re-exports of intrinsics and pseudo-parameters */ export declare function generateRuntimeIndex(resources: RuntimeIndexEntry[], properties: RuntimeIndexPropertyEntry[], config: RuntimeIndexConfig): string; //# sourceMappingURL=generate-runtime-index.d.ts.map