import type { PathMapping } from "../mapping/path-mapper"; /** * Manages barrel export index files for the HTTP types package. */ export declare class IndexManager { /** * After a payloads.ts or queries.ts file is written, ensures all index files * in the chain are up to date: * * 1. `{domain}/{area}/index.ts` — exports the written file stem * 2. `{domain}/index.ts` — exports `./{area}` * 3. `packages/core/types/src/http/index.ts` — exports `./{domain}` * * In dry-run mode nothing is written; changes are only logged. */ updateIndexFiles(mapping: PathMapping, writtenLabel: string, dryRun: boolean): Promise; /** * Ensures `export * from "./{stem}"` is present in `indexFile`. * Creates the file if it doesn't exist; appends the line if it's missing. * Returns true if a change was made (or would be made in dry-run). */ private ensureExport; } //# sourceMappingURL=index-manager.d.ts.map