export type CameraPermissionReleaseBoundary = "input" | "contract" | "governance" | "scope" | "provider";
export type CameraPermissionReleaseGate = {
    accepted?: boolean;
    allowed?: boolean;
    reason?: string;
};
export type CameraPermissionReleaseContext = {
    runtimeId?: string;
    sessionId?: string;
    invocationId?: string;
    dryRun?: boolean;
    guard?: CameraPermissionReleaseGate;
    contract?: CameraPermissionReleaseGate;
    governance?: CameraPermissionReleaseGate;
    requestedScopes?: readonly string[];
    allowedScopes?: readonly string[];
    auditMetadata?: Readonly<Record<string, unknown>>;
};
export type CameraPermissionReleaseTarget = {
    leaseId: string;
    deviceId?: string;
    reason?: string;
};
export type CameraPermissionReleaseProviderRequest = {
    operation: "computeruse.cameraPermissionRelease.release";
    target: CameraPermissionReleaseTarget;
    context: {
        runtimeId?: string;
        sessionId?: string;
        invocationId?: string;
        auditMetadata?: Readonly<Record<string, unknown>>;
    };
};
export type CameraPermissionReleaseProviderResult = {
    released: boolean;
    metadata?: Readonly<Record<string, unknown>>;
};
export type CameraPermissionReleaseProvider = (request: CameraPermissionReleaseProviderRequest) => Promise<CameraPermissionReleaseProviderResult> | CameraPermissionReleaseProviderResult;
export type CameraPermissionReleaseInput = {
    target?: unknown;
    context?: unknown;
    leaseId?: unknown;
    permissionToken?: unknown;
    deviceId?: unknown;
    reason?: unknown;
    metadata?: unknown;
    provider?: CameraPermissionReleaseProvider;
};
export type CameraPermissionReleaseErrorCode = "INVALID_REQUEST" | "INVALID_CONTEXT" | "INVALID_TARGET" | "MISSING_RUNTIME_ID" | "MISSING_LEASE_ID" | "INVALID_LEASE_ID" | "INVALID_DEVICE_ID" | "INVALID_REASON" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED" | "SCOPE_DENIED" | "PROVIDER_UNAVAILABLE" | "PROVIDER_FAILURE";
export type CameraPermissionReleaseError = {
    code: CameraPermissionReleaseErrorCode;
    message: string;
    boundary: CameraPermissionReleaseBoundary;
    publicSafe: true;
    safeForRuntimeInspection: true;
    internalDetailExposed: false;
};
export type CameraPermissionReleaseAuditEvent = {
    type: string;
    toolId: "computeruse.cameraPermissionRelease";
    invocationId: string;
    dryRun: boolean;
    leaseId?: string;
    metadata: Readonly<Record<string, unknown>>;
};
export type CameraPermissionReleaseOutput = {
    kind: "agentCore.basicTool.computeruse.cameraPermissionRelease";
    target: CameraPermissionReleaseTarget;
    dispatch: "dry-run" | "runtime-computeruse";
    dryRun: boolean;
    providerCalled: boolean;
    executionBlocked: boolean;
    unsafeSideEffects: true;
    permissionsRequired: readonly ["camera:permission-release"];
    requiresTapApproval: true;
    acceptedScopes: readonly string[];
    runtimeEntry: {
        port: "BaseToolExecutorPort.computeruse.releasePermission";
        operation: "computeruse.cameraPermissionRelease.release";
        runtimeOwnsPermissionLease: true;
        runtimeOwnsDevicePolicy: true;
        baseToolOwnsTapStrategy: false;
    };
    permissionEnvelope: {
        resource: "camera";
        releaseRequested: boolean;
        released: boolean;
        metadataOnly: boolean;
        leaseId: string;
    };
    providerMetadata?: Readonly<Record<string, unknown>>;
};
export type CameraPermissionReleaseResult = {
    ok: true;
    toolId: "computeruse.cameraPermissionRelease";
    output: CameraPermissionReleaseOutput;
    audit: readonly CameraPermissionReleaseAuditEvent[];
    events: readonly string[];
} | {
    ok: false;
    toolId: "computeruse.cameraPermissionRelease";
    error: CameraPermissionReleaseError;
    audit: readonly CameraPermissionReleaseAuditEvent[];
    events: readonly string[];
};
export declare const cameraPermissionReleaseDescriptor: {
    readonly toolId: "computeruse.cameraPermissionRelease";
    readonly capability: "camera-permission-release";
    readonly route: "agent_executionEngine.basic_toolLayer.baseTools.computeruseBase.cameraAccess";
    readonly defaultDryRun: true;
    readonly tapOwnsApproval: true;
    readonly runtimeEntry: "BaseToolExecutorPort.computeruse.releasePermission";
    readonly permissionsRequired: readonly ["camera:permission-release"];
    readonly unsafeSideEffects: true;
};
export declare function executeCameraPermissionRelease(request?: unknown): Promise<CameraPermissionReleaseResult>;
export declare function planCameraPermissionRelease(request?: unknown): Promise<CameraPermissionReleaseResult>;
