import { type RecordedProvisioning } from "../notion-as-code/provisioning.js"; import type { AppManifest, SecretDeclaration } from "../manifest.js"; import type { DiscoveredCapability } from "./discover.js"; /** Extract the app manifest from a built bundle. */ export declare function extractManifest(bundlePath: string, capabilities: readonly DiscoveredCapability[], blockConfigs?: Record, provisioning?: RecordedProvisioning, secrets?: SecretDeclaration[]): Promise; /** Import the metadata bundle and return the provisioning declarations it recorded. */ export declare function extractProvisioning(bundlePath: string): Promise; /** * Throw if `value` contains anything `JSON.stringify` would silently drop or * rewrite, so invalid manifest configuration fails during the build. */ export declare function assertJsonSafe(value: unknown, path: string): void; /** Read the isolated declaration bundle; browser declarations never enter the Worker. */ export declare function extractBlockConfigs(bundlePath: string): Promise>; //# sourceMappingURL=emit-manifest.d.ts.map