import { type OfficialModuleCapabilityContract, type OfficialModuleCapabilityContractError, type OfficialModuleCapabilityGrant, type OfficialModuleCapabilityUse, type OfficialModuleGate } from "./officialModuleCapabilityContract.js";
export type CmpRuntimeBridgeRequest = {
    runtimeId?: string;
    moduleId?: string;
    contextId?: string;
    taskId?: string;
    requestedCapabilities?: readonly OfficialModuleCapabilityUse[];
    allowedCapabilities?: readonly OfficialModuleCapabilityGrant[];
    runtimeReady?: boolean;
    contract?: OfficialModuleGate;
    governance?: OfficialModuleGate;
};
export type CmpRuntimeBridgePlan = {
    runtimeId: string;
    moduleId: string;
    moduleKind: "CMP";
    contextId?: string;
    taskId?: string;
    capabilityContract: OfficialModuleCapabilityContract;
    contextAccess: "runtime-mediated";
    taskAccess: "runtime-mediated";
    invocationAccess: "dry-run";
    dispatch: "dry-run";
    cmpStrategyImplemented: false;
    unsafeSideEffects: false;
};
export type CmpRuntimeBridgeResult = {
    ok: true;
    plan: CmpRuntimeBridgePlan;
    events: readonly string[];
} | {
    ok: false;
    error: OfficialModuleCapabilityContractError;
    events: readonly string[];
};
export declare function createCmpRuntimeBridge(request?: CmpRuntimeBridgeRequest): CmpRuntimeBridgeResult;
