export type CameraStopRecordingBoundary = "input" | "contract" | "governance" | "scope" | "provider";
export type CameraStopRecordingGate = {
    accepted?: boolean;
    allowed?: boolean;
    reason?: string;
};
export type CameraStopRecordingContext = {
    runtimeId?: string;
    sessionId?: string;
    invocationId?: string;
    dryRun?: boolean;
    guard?: CameraStopRecordingGate;
    contract?: CameraStopRecordingGate;
    governance?: CameraStopRecordingGate;
    requestedScopes?: readonly string[];
    allowedScopes?: readonly string[];
    auditMetadata?: Readonly<Record<string, unknown>>;
};
export type CameraStopRecordingRetentionPolicy = "ephemeral" | "session-only" | "session-scoped" | "persistent";
export type CameraStopRecordingTarget = {
    recordingId: string;
    purpose: string;
    storageTarget?: string;
    retentionPolicy?: CameraStopRecordingRetentionPolicy;
    destinationHint?: string;
};
export type CameraStopRecordingProviderRequest = {
    operation: "computeruse.cameraStopRecording.stop";
    target: CameraStopRecordingTarget;
    context: {
        runtimeId?: string;
        sessionId?: string;
        invocationId?: string;
        auditMetadata?: Readonly<Record<string, unknown>>;
    };
};
export type CameraStopRecordingProviderResult = {
    artifactId: string;
    mimeType: string;
    storageUri?: string;
    retentionPolicy?: CameraStopRecordingRetentionPolicy;
    metadata?: Readonly<Record<string, unknown>>;
};
export type CameraStopRecordingProvider = (request: CameraStopRecordingProviderRequest) => Promise<CameraStopRecordingProviderResult> | CameraStopRecordingProviderResult;
export type CameraStopRecordingInput = {
    target?: unknown;
    context?: unknown;
    recordingId?: unknown;
    recordingRef?: unknown;
    purpose?: unknown;
    storageTarget?: unknown;
    retentionPolicy?: unknown;
    destinationHint?: unknown;
    persistHint?: unknown;
    metadata?: unknown;
    provider?: CameraStopRecordingProvider;
};
export type CameraStopRecordingErrorCode = "INVALID_REQUEST" | "INVALID_CONTEXT" | "INVALID_TARGET" | "MISSING_RUNTIME_ID" | "MISSING_RECORDING_ID" | "INVALID_RECORDING_ID" | "MISSING_PURPOSE" | "INVALID_PURPOSE" | "INVALID_STORAGE_TARGET" | "INVALID_RETENTION_POLICY" | "INVALID_DESTINATION_HINT" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED" | "SCOPE_DENIED" | "PROVIDER_UNAVAILABLE" | "PROVIDER_FAILURE";
export type CameraStopRecordingError = {
    code: CameraStopRecordingErrorCode;
    message: string;
    boundary: CameraStopRecordingBoundary;
    publicSafe: true;
    safeForRuntimeInspection: true;
    internalDetailExposed: false;
};
export type CameraStopRecordingAuditEvent = {
    type: string;
    toolId: "computeruse.cameraStopRecording";
    invocationId: string;
    dryRun: boolean;
    recordingId?: string;
    metadata: Readonly<Record<string, unknown>>;
};
export type CameraStopRecordingOutput = {
    kind: "agentCore.basicTool.computeruse.cameraStopRecording";
    target: CameraStopRecordingTarget;
    dispatch: "dry-run" | "runtime-computeruse";
    dryRun: boolean;
    providerCalled: boolean;
    executionBlocked: boolean;
    unsafeSideEffects: true;
    permissionsRequired: readonly ["camera:stop-recording", "recording:session", "artifact:write"];
    requiresTapApproval: true;
    acceptedScopes: readonly string[];
    runtimeEntry: {
        port: "BaseToolExecutorPort.computeruse.stopRecording";
        operation: "computeruse.cameraStopRecording.stop";
        runtimeOwnsCameraAccess: true;
        runtimeOwnsRecordingSession: true;
        runtimeOwnsArtifactStorage: true;
        baseToolOwnsTapStrategy: false;
    };
    artifactEnvelope: {
        resource: "camera-recording";
        stopRequested: boolean;
        stopped: boolean;
        metadataOnly: boolean;
        recordingId: string;
        artifactId?: string;
        mimeType?: string;
        storageUri?: string;
        retentionPolicy?: CameraStopRecordingRetentionPolicy;
    };
    providerMetadata?: Readonly<Record<string, unknown>>;
};
export type CameraStopRecordingResult = {
    ok: true;
    toolId: "computeruse.cameraStopRecording";
    output: CameraStopRecordingOutput;
    audit: readonly CameraStopRecordingAuditEvent[];
    events: readonly string[];
} | {
    ok: false;
    toolId: "computeruse.cameraStopRecording";
    error: CameraStopRecordingError;
    audit: readonly CameraStopRecordingAuditEvent[];
    events: readonly string[];
};
export declare const cameraStopRecordingDescriptor: {
    readonly toolId: "computeruse.cameraStopRecording";
    readonly capability: "stop-camera-recording";
    readonly route: "agent_executionEngine.basic_toolLayer.baseTools.computeruseBase.cameraAccess";
    readonly defaultDryRun: true;
    readonly defaultRetentionPolicy: "session-scoped";
    readonly allowedStorageSchemes: readonly ["artifact://", "session://", "runtime://", "memory://"];
    readonly tapOwnsApproval: true;
    readonly runtimeEntry: "BaseToolExecutorPort.computeruse.stopRecording";
    readonly permissionsRequired: readonly ["camera:stop-recording", "recording:session", "artifact:write"];
    readonly unsafeSideEffects: true;
};
export declare function executeCameraStopRecording(request?: unknown): Promise<CameraStopRecordingResult>;
export declare const planCameraStopRecording: typeof executeCameraStopRecording;
