import type { RuntimeGovernanceBoundary, RuntimeGovernanceCaller, RuntimeGovernanceDecision, RuntimeGovernanceGate } from "./runtimeGovernancePlane.js";
export type TapApprovalRiskLevel = "low" | "medium" | "high" | "critical";
export type TapApprovalTargetKind = "tool-call" | "high-risk-action" | "model-call" | "runtime-control";
export type TapApprovalGovernanceBridgeErrorCode = "MISSING_RUNTIME_ID" | "MISSING_ACTION" | "MISSING_CALLER" | "GOVERNANCE_DENIED" | "DECISION_RUNTIME_MISMATCH" | "APPROVAL_POLICY_REJECTED" | "TAP_NOT_MOUNTED";
export type TapApprovalGovernanceBridgeRequest = {
    runtimeId?: string;
    action?: string;
    targetKind?: TapApprovalTargetKind;
    caller?: RuntimeGovernanceCaller;
    governanceDecision?: RuntimeGovernanceDecision;
    riskLevel?: TapApprovalRiskLevel;
    tapMounted?: boolean;
    approvalChannel?: string;
    approvalPolicy?: RuntimeGovernanceGate;
    reason?: string;
};
export type TapApprovalEnvelope = {
    requestId: string;
    runtimeId: string;
    action: string;
    targetKind: TapApprovalTargetKind;
    requestedBy: RuntimeGovernanceCaller;
    reason: string;
    riskLevel: TapApprovalRiskLevel;
    approvalChannel: string;
    delegatedToTap: true;
    humanConfirmationRequired: boolean;
    dryRun: true;
    unsafeSideEffects: false;
};
export type TapApprovalGovernanceBridgePlan = {
    runtimeId: string;
    action: string;
    targetKind: TapApprovalTargetKind;
    approvalRequired: boolean;
    dispatch: "dry-run";
    tapCallPlanned: boolean;
    tapStrategyImplemented: false;
    approval?: TapApprovalEnvelope;
    unsafeSideEffects: false;
};
export type TapApprovalGovernanceBridgeError = {
    code: TapApprovalGovernanceBridgeErrorCode;
    message: string;
    boundary: RuntimeGovernanceBoundary;
    publicSafe: true;
};
export type TapApprovalGovernanceBridgeResult = {
    ok: true;
    plan: TapApprovalGovernanceBridgePlan;
    events: readonly string[];
} | {
    ok: false;
    error: TapApprovalGovernanceBridgeError;
    events: readonly string[];
};
export declare function createTapApprovalGovernanceBridge(request?: TapApprovalGovernanceBridgeRequest): TapApprovalGovernanceBridgeResult;
