export declare const RUNTIME_DELIVERY_BOOTSTRAP_SCHEMA_VERSION = 1; export declare const RUNTIME_DELIVERY_BOOTSTRAP_PATH: string; export declare const LEGACY_RUNTIME_DELIVERY_BOOTSTRAP_PATH: string; export declare const RUNTIME_DELIVERY_BOOTSTRAP_GITIGNORE_MARKER = "!.bundle-drop/runtime-delivery.lock.json"; export declare const LEGACY_RUNTIME_DELIVERY_BOOTSTRAP_GITIGNORE_MARKER = "!.bundle-drop/runtime-delivery.generated.json"; export type RuntimeDeliveryPublicKey = { kty: 'EC'; crv: 'P-256'; x: string; y: string; }; export type RuntimeDeliveryConfig = { manifestBaseUrl: string; manifestAccessId: string; publicKeys: Record; }; export type RuntimeDeliveryProjectIdentity = { serverUrl: string; orgSlug: string; projectSlug: string; projectId?: string; orgId?: string; }; export type RuntimeDeliveryBootstrapLockfile = { schemaVersion: typeof RUNTIME_DELIVERY_BOOTSTRAP_SCHEMA_VERSION; project: RuntimeDeliveryProjectIdentity; runtimeDelivery: RuntimeDeliveryConfig; }; export type RuntimeDeliveryBootstrapSource = 'lock' | 'legacy' | 'matching-dual'; export type RuntimeDeliveryBootstrapReadResult = { bootstrap: RuntimeDeliveryBootstrapLockfile; source: RuntimeDeliveryBootstrapSource; }; /** * Accepts the current backend-authorized trust shape and the temporary legacy * wire shape. Explicit legacy non-authoritative modes must never create a * package-managed bootstrap. */ export declare function normalizeRuntimeDeliveryBootstrap(value: unknown): RuntimeDeliveryConfig | undefined; export declare function createRuntimeDeliveryBootstrapLockfile(params: { identity: RuntimeDeliveryProjectIdentity; runtimeDelivery: unknown; }): RuntimeDeliveryBootstrapLockfile | undefined; export declare function parseRuntimeDeliveryBootstrapLockfile(value: unknown, expectedIdentity?: RuntimeDeliveryProjectIdentity): RuntimeDeliveryBootstrapLockfile; export declare function runtimeDeliveryBootstrapPath(projectRoot: string): string; export declare function legacyRuntimeDeliveryBootstrapPath(projectRoot: string): string; export declare function addRuntimeDeliveryBootstrapGitignoreRules(content: string): string; export declare function readRuntimeDeliveryLockfile(params: { projectRoot: string; expectedIdentity?: RuntimeDeliveryProjectIdentity; }): RuntimeDeliveryBootstrapLockfile | null; export declare function inspectRuntimeDeliveryBootstrap(params: { projectRoot: string; expectedIdentity?: RuntimeDeliveryProjectIdentity; }): RuntimeDeliveryBootstrapReadResult | null; export declare function readRuntimeDeliveryBootstrap(params: { projectRoot: string; expectedIdentity?: RuntimeDeliveryProjectIdentity; }): RuntimeDeliveryBootstrapLockfile | null; export declare function serializeRuntimeDeliveryBootstrapLockfile(bootstrap: RuntimeDeliveryBootstrapLockfile): string; export declare function writeRuntimeDeliveryBootstrapLockfile(params: { projectRoot: string; bootstrap: RuntimeDeliveryBootstrapLockfile; }): Promise; export declare function removeRuntimeDeliveryBootstrapLockfile(projectRoot: string): Promise; export declare function removeLegacyRuntimeDeliveryBootstrap(projectRoot: string): Promise; export declare function removeAllRuntimeDeliveryBootstraps(projectRoot: string): Promise; export declare function ensureRuntimeDeliveryBootstrapGitignore(projectRoot: string): Promise;