export type CameraSelectBoundary = "input" | "contract" | "governance" | "scope" | "resource" | "provider";
export type CameraSelectGate = {
    accepted?: boolean;
    allowed?: boolean;
    reason?: string;
};
export type CameraSelectableDeviceKind = "integrated" | "usb" | "virtual" | "unknown";
export type CameraSelectContext = {
    runtimeId?: string;
    sessionId?: string;
    invocationId?: string;
    dryRun?: boolean;
    guard?: CameraSelectGate;
    contract?: CameraSelectGate;
    governance?: CameraSelectGate;
    requestedScopes?: readonly string[];
    allowedScopes?: readonly string[];
    auditMetadata?: Readonly<Record<string, unknown>>;
};
export type CameraSelectableDevice = {
    id: string;
    label?: string;
    kind: CameraSelectableDeviceKind;
};
export type CameraSelectTarget = {
    deviceId: string;
    availableDevices?: readonly CameraSelectableDevice[];
    purpose?: string;
};
export type CameraSelectProviderRequest = {
    operation: "computeruse.cameraSelect.select";
    target: CameraSelectTarget;
    context: {
        runtimeId?: string;
        sessionId?: string;
        invocationId?: string;
        auditMetadata?: Readonly<Record<string, unknown>>;
    };
};
export type CameraSelectProviderResult = {
    selected: boolean;
    deviceId: string;
    metadata?: Readonly<Record<string, unknown>>;
};
export type CameraSelectProvider = (request: CameraSelectProviderRequest) => Promise<CameraSelectProviderResult> | CameraSelectProviderResult;
export type CameraSelectInput = {
    target?: unknown;
    context?: unknown;
    deviceId?: unknown;
    availableDevices?: unknown;
    purpose?: unknown;
    metadata?: unknown;
    provider?: CameraSelectProvider;
};
export type CameraSelectErrorCode = "INVALID_REQUEST" | "INVALID_CONTEXT" | "INVALID_TARGET" | "MISSING_RUNTIME_ID" | "MISSING_CAMERA_DEVICE" | "INVALID_CAMERA_DEVICE" | "INVALID_AVAILABLE_DEVICES" | "CAMERA_DEVICE_NOT_AVAILABLE" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED" | "SCOPE_DENIED" | "PROVIDER_UNAVAILABLE" | "PROVIDER_FAILURE";
export type CameraSelectError = {
    code: CameraSelectErrorCode;
    message: string;
    boundary: CameraSelectBoundary;
    publicSafe: true;
    safeForRuntimeInspection: true;
    internalDetailExposed: false;
};
export type CameraSelectAuditEvent = {
    type: string;
    toolId: "computeruse.cameraSelect";
    invocationId: string;
    dryRun: boolean;
    deviceId?: string;
    metadata: Readonly<Record<string, unknown>>;
};
export type CameraSelectOutput = {
    kind: "agentCore.basicTool.computeruse.cameraSelect";
    target: CameraSelectTarget;
    dispatch: "dry-run" | "runtime-computeruse";
    dryRun: boolean;
    providerCalled: boolean;
    executionBlocked: boolean;
    unsafeSideEffects: true;
    permissionsRequired: readonly ["camera:select"];
    requiresTapApproval: true;
    acceptedScopes: readonly string[];
    runtimeEntry: {
        port: "BaseToolExecutorPort.computeruse.selectDevice";
        operation: "computeruse.cameraSelect.select";
        runtimeOwnsDeviceInventory: true;
        runtimeOwnsDevicePolicy: true;
        baseToolOwnsTapStrategy: false;
    };
    selectionEnvelope: {
        resource: "camera";
        requested: boolean;
        selected: boolean;
        metadataOnly: boolean;
        deviceId: string;
    };
    providerMetadata?: Readonly<Record<string, unknown>>;
};
export type CameraSelectResult = {
    ok: true;
    toolId: "computeruse.cameraSelect";
    output: CameraSelectOutput;
    audit: readonly CameraSelectAuditEvent[];
    events: readonly string[];
} | {
    ok: false;
    toolId: "computeruse.cameraSelect";
    error: CameraSelectError;
    audit: readonly CameraSelectAuditEvent[];
    events: readonly string[];
};
export declare const cameraSelectDescriptor: {
    readonly toolId: "computeruse.cameraSelect";
    readonly capability: "select-camera-device";
    readonly route: "agent_executionEngine.basic_toolLayer.baseTools.computeruseBase.cameraAccess";
    readonly defaultDryRun: true;
    readonly tapOwnsApproval: true;
    readonly runtimeEntry: "BaseToolExecutorPort.computeruse.selectDevice";
    readonly permissionsRequired: readonly ["camera:select"];
    readonly unsafeSideEffects: true;
};
export declare function executeCameraSelect(request?: unknown): Promise<CameraSelectResult>;
export declare const planCameraSelect: typeof executeCameraSelect;
