export type MicrophoneStartRecordingBoundary = "input" | "contract" | "governance" | "scope" | "resource" | "provider";
export type MicrophoneStartRecordingGate = {
    accepted?: boolean;
    allowed?: boolean;
    reason?: string;
};
export type MicrophoneStartRecordingContext = {
    runtimeId?: string;
    sessionId?: string;
    invocationId?: string;
    dryRun?: boolean;
    guard?: MicrophoneStartRecordingGate;
    contract?: MicrophoneStartRecordingGate;
    governance?: MicrophoneStartRecordingGate;
    requestedScopes?: readonly string[];
    allowedScopes?: readonly string[];
    allowedDeviceIds?: readonly string[];
    auditMetadata?: Readonly<Record<string, unknown>>;
};
export type MicrophoneStartRecordingOutputFormat = "audio/wav" | "audio/webm" | "audio/mpeg";
export type MicrophoneStartRecordingTarget = {
    deviceId: string;
    maxDurationMs: number;
    sampleRateHz: number;
    channelCount: number;
    outputFormat: MicrophoneStartRecordingOutputFormat;
    permissionLeaseId?: string;
    recordingLabel?: string;
    destinationHint?: string;
};
export type MicrophoneStartRecordingProviderRequest = {
    operation: "computeruse.microphoneStartRecording.start";
    target: MicrophoneStartRecordingTarget;
    context: {
        runtimeId?: string;
        sessionId?: string;
        invocationId?: string;
        auditMetadata?: Readonly<Record<string, unknown>>;
    };
    purpose: string;
};
export type MicrophoneStartRecordingProviderResult = {
    recordingId: string;
    metadata?: Readonly<Record<string, unknown>>;
};
export type MicrophoneStartRecordingProvider = (request: MicrophoneStartRecordingProviderRequest) => Promise<MicrophoneStartRecordingProviderResult> | MicrophoneStartRecordingProviderResult;
export type MicrophoneStartRecordingRequest = {
    target?: unknown;
    context?: unknown;
    deviceId?: unknown;
    permissionLeaseId?: unknown;
    recordingLabel?: unknown;
    destinationHint?: unknown;
    maxDurationMs?: unknown;
    sampleRateHz?: unknown;
    channelCount?: unknown;
    outputFormat?: unknown;
    purpose?: unknown;
    metadata?: unknown;
    provider?: MicrophoneStartRecordingProvider;
};
export type MicrophoneStartRecordingErrorCode = "INVALID_REQUEST" | "INVALID_CONTEXT" | "INVALID_TARGET" | "MISSING_RUNTIME_ID" | "MISSING_PURPOSE" | "INVALID_DEVICE_ID" | "DEVICE_SCOPE_REJECTED" | "INVALID_PERMISSION_LEASE" | "INVALID_RECORDING_LABEL" | "INVALID_DESTINATION_HINT" | "INVALID_MAX_DURATION" | "INVALID_AUDIO_FORMAT" | "INVALID_OUTPUT_FORMAT" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED" | "SCOPE_DENIED" | "PROVIDER_UNAVAILABLE" | "PROVIDER_FAILURE";
export type MicrophoneStartRecordingError = {
    code: MicrophoneStartRecordingErrorCode;
    message: string;
    boundary: MicrophoneStartRecordingBoundary;
    publicSafe: true;
    safeForRuntimeInspection: true;
    internalDetailExposed: false;
};
export type MicrophoneStartRecordingAuditEvent = {
    type: string;
    toolId: "computeruse.microphoneStartRecording";
    invocationId: string;
    dryRun: boolean;
    deviceId?: string;
    metadata: Readonly<Record<string, unknown>>;
};
export type MicrophoneStartRecordingOutput = {
    kind: "agentCore.basicTool.computeruse.microphoneStartRecording";
    target: MicrophoneStartRecordingTarget;
    purpose: string;
    dispatch: "dry-run" | "runtime-computeruse";
    dryRun: boolean;
    providerCalled: boolean;
    executionBlocked: boolean;
    unsafeSideEffects: true;
    permissionsRequired: readonly ("microphone:read" | "microphone:record" | "recording:session" | "artifact:write")[];
    requiresTapApproval: true;
    acceptedScopes: readonly string[];
    runtimeEntry: {
        port: "BaseToolExecutorPort.computeruse.startRecording";
        operation: "computeruse.microphoneStartRecording.start";
        runtimeOwnsMicrophoneAccess: true;
        runtimeOwnsRecordingSession: true;
        runtimeOwnsArtifactStorage: true;
        baseToolOwnsTapStrategy: false;
    };
    recordingEnvelope: {
        resource: "microphone";
        target: "microphone";
        started: boolean;
        metadataOnly: boolean;
        recordingId?: string;
    };
    providerMetadata?: Readonly<Record<string, unknown>>;
};
export type MicrophoneStartRecordingResult = {
    ok: true;
    toolId: "computeruse.microphoneStartRecording";
    output: MicrophoneStartRecordingOutput;
    audit: readonly MicrophoneStartRecordingAuditEvent[];
    events: readonly string[];
} | {
    ok: false;
    toolId: "computeruse.microphoneStartRecording";
    error: MicrophoneStartRecordingError;
    audit: readonly MicrophoneStartRecordingAuditEvent[];
    events: readonly string[];
};
export declare const microphoneStartRecordingDescriptor: {
    readonly toolId: "computeruse.microphoneStartRecording";
    readonly capability: "start-microphone-recording";
    readonly route: "agent_executionEngine.basic_toolLayer.baseTools.computeruseBase.microphoneAccess";
    readonly defaultDryRun: true;
    readonly defaultDeviceId: "default-microphone";
    readonly defaultMaxDurationMs: 60000;
    readonly maxDurationMs: 3600000;
    readonly defaultSampleRateHz: 48000;
    readonly defaultChannelCount: 1;
    readonly defaultOutputFormat: "audio/webm";
    readonly allowedDestinationSchemes: readonly ["artifact://", "session://", "runtime://", "memory://"];
    readonly tapOwnsApproval: true;
    readonly runtimeEntry: "BaseToolExecutorPort.computeruse.startRecording";
    readonly unsafeSideEffects: true;
};
export declare function executeMicrophoneStartRecording(request?: unknown): Promise<MicrophoneStartRecordingResult>;
export declare function planMicrophoneStartRecording(request?: unknown): Promise<MicrophoneStartRecordingResult>;
