export type CameraCapturePhotoBoundary = "input" | "contract" | "governance" | "scope" | "resource" | "provider";
export type CameraCapturePhotoGate = {
    accepted?: boolean;
    allowed?: boolean;
    reason?: string;
};
export type CameraCapturePhotoContext = {
    runtimeId?: string;
    sessionId?: string;
    invocationId?: string;
    dryRun?: boolean;
    guard?: CameraCapturePhotoGate;
    contract?: CameraCapturePhotoGate;
    governance?: CameraCapturePhotoGate;
    requestedScopes?: readonly string[];
    allowedScopes?: readonly string[];
    auditMetadata?: Readonly<Record<string, unknown>>;
};
export type CameraCapturePhotoTarget = {
    cameraId: string;
    purpose: string;
    outputFormat: "image/jpeg" | "image/png" | "image/webp";
    permissionLeaseId?: string;
};
export type CameraCapturePhotoProviderRequest = {
    operation: "computeruse.cameraCapturePhoto.capture";
    target: CameraCapturePhotoTarget;
    context: {
        runtimeId?: string;
        sessionId?: string;
        invocationId?: string;
        auditMetadata?: Readonly<Record<string, unknown>>;
    };
};
export type CameraCapturePhotoProviderResult = {
    artifactId: string;
    mimeType: string;
    metadata?: Readonly<Record<string, unknown>>;
};
export type CameraCapturePhotoProvider = (request: CameraCapturePhotoProviderRequest) => Promise<CameraCapturePhotoProviderResult> | CameraCapturePhotoProviderResult;
export type CameraCapturePhotoInput = {
    target?: unknown;
    context?: unknown;
    cameraId?: unknown;
    purpose?: unknown;
    outputFormat?: unknown;
    permissionLeaseId?: unknown;
    leaseId?: unknown;
    metadata?: unknown;
    provider?: CameraCapturePhotoProvider;
};
export type CameraCapturePhotoErrorCode = "INVALID_REQUEST" | "INVALID_CONTEXT" | "INVALID_TARGET" | "MISSING_RUNTIME_ID" | "MISSING_CAMERA_ID" | "MISSING_PURPOSE" | "INVALID_CAMERA_ID" | "INVALID_PURPOSE" | "INVALID_OUTPUT_FORMAT" | "INVALID_PERMISSION_LEASE" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED" | "SCOPE_DENIED" | "PROVIDER_UNAVAILABLE" | "PROVIDER_FAILURE";
export type CameraCapturePhotoError = {
    code: CameraCapturePhotoErrorCode;
    message: string;
    boundary: CameraCapturePhotoBoundary;
    publicSafe: true;
    safeForRuntimeInspection: true;
    internalDetailExposed: false;
};
export type CameraCapturePhotoAuditEvent = {
    type: string;
    toolId: "computeruse.cameraCapturePhoto";
    invocationId: string;
    dryRun: boolean;
    cameraId?: string;
    metadata: Readonly<Record<string, unknown>>;
};
export type CameraCapturePhotoOutput = {
    kind: "agentCore.basicTool.computeruse.cameraCapturePhoto";
    target: CameraCapturePhotoTarget;
    dispatch: "dry-run" | "runtime-computeruse";
    dryRun: boolean;
    providerCalled: boolean;
    executionBlocked: boolean;
    unsafeSideEffects: true;
    permissionsRequired: readonly ["camera:capture-photo"];
    requiresTapApproval: true;
    acceptedScopes: readonly string[];
    runtimeEntry: {
        port: "BaseToolExecutorPort.computeruse.captureCameraPhoto";
        operation: "computeruse.cameraCapturePhoto.capture";
        runtimeOwnsCameraAccess: true;
        runtimeOwnsArtifactStorage: true;
        baseToolOwnsTapStrategy: false;
    };
    artifactEnvelope: {
        resource: "camera-photo";
        captured: boolean;
        metadataOnly: boolean;
        artifactId?: string;
        mimeType?: string;
    };
    providerMetadata?: Readonly<Record<string, unknown>>;
};
export type CameraCapturePhotoResult = {
    ok: true;
    toolId: "computeruse.cameraCapturePhoto";
    output: CameraCapturePhotoOutput;
    audit: readonly CameraCapturePhotoAuditEvent[];
    events: readonly string[];
} | {
    ok: false;
    toolId: "computeruse.cameraCapturePhoto";
    error: CameraCapturePhotoError;
    audit: readonly CameraCapturePhotoAuditEvent[];
    events: readonly string[];
};
export declare const cameraCapturePhotoDescriptor: {
    readonly toolId: "computeruse.cameraCapturePhoto";
    readonly capability: "capture-camera-photo";
    readonly route: "agent_executionEngine.basic_toolLayer.baseTools.computeruseBase.cameraAccess";
    readonly defaultDryRun: true;
    readonly defaultOutputFormat: "image/jpeg";
    readonly tapOwnsApproval: true;
    readonly runtimeEntry: "BaseToolExecutorPort.computeruse.captureCameraPhoto";
    readonly permissionsRequired: readonly ["camera:capture-photo"];
    readonly unsafeSideEffects: true;
};
export declare function executeCameraCapturePhoto(request?: unknown): Promise<CameraCapturePhotoResult>;
export declare const planCameraCapturePhoto: typeof executeCameraCapturePhoto;
