import { type VerifyAiAuthoringContextFreshnessRequestV2 } from '@nexusclaw/shared'; import { type WorkforceBundleArtifactOperationInput } from './api-client'; export declare function prepareRemoteWorkforceBundle(options: { readonly bundleDir: string; readonly contextManifestPath: string; readonly targetOrg: string; readonly targetAgentId?: string | null; }): Promise<{ client: import("./api-client").ApiClient; authoringContext: VerifyAiAuthoringContextFreshnessRequestV2; archive: { archiveBytes: Uint8Array; archiveDigest: `sha256:${string}`; packageDigest: `sha256:${string}`; portableBundleDigest: `sha256:${string}`; runtimeBindingsDigest: `sha256:${string}`; fileCount: number; declaredSurfaces: ("code" | "flow" | "employee")[]; }; sealed: import("./api-client").SealedExecutablePackageArtifact; artifactInput: { readonly targetAgentId?: string | undefined; readonly schemaVersion: "nexusclaw.workforce-bundle-artifact-operation-input/v1"; readonly targetWorkspaceId: string; readonly stagedArtifactId: string; readonly expectedArchiveDigest: `sha256:${string}`; readonly expectedPackageDigest: `sha256:${string}`; readonly contextManifestContentDigest: `sha256:${string}`; readonly runtimeBindingsDigest: `sha256:${string}`; readonly expectedPortableBundleDigest: `sha256:${string}`; }; }>; export declare function assertWorkforceBundleStageContext(context: Pick): void; export declare function validateRemoteWorkforceBundle(options: { readonly bundleDir: string; readonly contextManifestPath: string; readonly targetOrg: string; readonly targetAgentId?: string | null; }): Promise; export declare function lockRemoteWorkforceBundle(options: { readonly bundleDir: string; readonly targetOrg: string; readonly contextManifestPath?: string; }): Promise; export declare function planRemoteWorkforceBundle(options: { readonly bundleDir: string; readonly targetOrg: string; readonly expectedActiveReleaseSetId: string; readonly expectedGeneration: number; readonly targetAgentId?: string | null; readonly contextManifestPath?: string; }): Promise<{ client: import("./api-client").ApiClient; state: WorkforceBundleRemoteState; plan: import("./api-client").WorkforceBundlePlanResult; }>; export declare function assertRemoteBundleArchiveCurrent(archive: { archiveDigest: string; packageDigest: string; portableBundleDigest: string; runtimeBindingsDigest: string; }, recorded: Pick): void; export declare function stageRemoteWorkforceBundle(options: { readonly bundleDir: string; readonly targetOrg: string; readonly expectedActiveReleaseSetId: string; readonly expectedGeneration: number; readonly targetAgentId?: string | null; readonly contextManifestPath?: string; }): Promise; interface WorkforceBundleRemoteState { readonly schemaVersion: 'nexusclaw.workforce-bundle-remote-state/v1'; readonly targetOrg: string; readonly contextManifestPath: string; readonly artifactInput: WorkforceBundleArtifactOperationInput; readonly authoringContext: VerifyAiAuthoringContextFreshnessRequestV2; } export {};