/** Records Notion-as-Code declarations while the build-only metadata bundle evaluates. */ import type { InfraAsCodeIntent } from "./intents.js"; import type { RecordedProvisioning } from "./provisioning.js"; /** Start collecting declarations from the metadata bundle. */ export declare function startMetadataRecording(): RecordedProvisioning; /** Finish the active metadata collection and return its declarations. */ export declare function finishMetadataRecording(recorder: RecordedProvisioning): RecordedProvisioning; /** Record one declaration when metadata collection is active. */ export declare function recordIntent(intent: InfraAsCodeIntent): void; /** Evaluate one discovered capability with its build-time identity available to declarations. */ export declare function withMetadataCapabilityKey(capabilityKey: string | undefined, evaluate: () => Promise): Promise; /** Return the capability key only while a metadata bundle is recording. */ export declare function getCurrentMetadataCapabilityKey(): string | undefined; /** Whether declarations are currently being collected by the build metadata bundle. */ export declare function isMetadataRecording(): boolean; //# sourceMappingURL=recorder.d.ts.map