export type CheckboxConfirmBoundary = "input" | "contract" | "governance" | "scope" | "provider";
export type CheckboxConfirmGate = {
    accepted?: boolean;
    allowed?: boolean;
    reason?: string;
};
export type CheckboxConfirmContext = {
    runtimeId?: string;
    sessionId?: string;
    invocationId?: string;
    dryRun?: boolean;
    guard?: CheckboxConfirmGate;
    contract?: CheckboxConfirmGate;
    governance?: CheckboxConfirmGate;
    requestedScopes?: readonly string[];
    allowedScopes?: readonly string[];
    auditMetadata?: Readonly<Record<string, unknown>>;
};
export type CheckboxConfirmState = "checked" | "unchecked";
export type CheckboxConfirmCoordinateSpace = "screen" | "window" | "normalized";
export type CheckboxConfirmClickMode = "single-click" | "double-click";
export type CheckboxConfirmPoint = {
    x: number;
    y: number;
};
export type CheckboxConfirmTarget = {
    expectedState: CheckboxConfirmState;
    currentState?: CheckboxConfirmState;
    label?: string;
    selectorHint?: string;
    point?: CheckboxConfirmPoint;
    coordinateSpace: CheckboxConfirmCoordinateSpace;
    displayId?: string;
    windowId?: string;
    clickMode: CheckboxConfirmClickMode;
    clickCount: 1 | 2;
    wouldToggle: boolean;
};
export type CheckboxConfirmProviderRequest = {
    operation: "computeruse.checkboxConfirm.pointerAction";
    target: CheckboxConfirmTarget;
    context: {
        runtimeId?: string;
        sessionId?: string;
        invocationId?: string;
        auditMetadata?: Readonly<Record<string, unknown>>;
    };
    purpose: string;
};
export type CheckboxConfirmProviderResult = {
    actionId: string;
    finalState?: CheckboxConfirmState;
    metadata?: Readonly<Record<string, unknown>>;
};
export type CheckboxConfirmProvider = (request: CheckboxConfirmProviderRequest) => Promise<CheckboxConfirmProviderResult> | CheckboxConfirmProviderResult;
export type CheckboxConfirmRequest = {
    target?: unknown;
    context?: unknown;
    label?: unknown;
    selectorHint?: unknown;
    point?: unknown;
    expectedState?: unknown;
    currentState?: unknown;
    coordinateSpace?: unknown;
    displayId?: unknown;
    windowId?: unknown;
    clickMode?: unknown;
    purpose?: unknown;
    metadata?: unknown;
    provider?: CheckboxConfirmProvider;
};
export type CheckboxConfirmErrorCode = "INVALID_REQUEST" | "INVALID_TARGET" | "INVALID_CONTEXT" | "MISSING_RUNTIME_ID" | "MISSING_PURPOSE" | "MISSING_TARGET" | "INVALID_POINT" | "INVALID_STATE" | "INVALID_CLICK_MODE" | "INVALID_COORDINATE_SPACE" | "INVALID_DISPLAY_ID" | "INVALID_WINDOW_ID" | "SCOPE_DENIED" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED" | "PROVIDER_UNAVAILABLE" | "PROVIDER_FAILURE";
export type CheckboxConfirmError = {
    code: CheckboxConfirmErrorCode;
    message: string;
    boundary: CheckboxConfirmBoundary;
    publicSafe: true;
    safeForRuntimeInspection: true;
    internalDetailExposed: false;
};
export type CheckboxConfirmAuditEvent = {
    type: string;
    toolId: "computeruse.checkboxConfirm";
    invocationId: string;
    dryRun: boolean;
    metadata: Readonly<Record<string, unknown>>;
};
export type CheckboxConfirmOutput = {
    kind: "agentCore.basicTool.computeruse.checkboxConfirm";
    target: CheckboxConfirmTarget;
    purpose: string;
    dispatch: "dry-run" | "runtime-computeruse";
    dryRun: boolean;
    providerCalled: boolean;
    executionBlocked: boolean;
    unsafeSideEffects: true;
    permissionsRequired: readonly ["pointer:write", "ui:action"];
    requiresTapApproval: true;
    acceptedScopes: readonly string[];
    runtimeEntry: {
        port: "BaseToolExecutorPort.computeruse.pointerAction";
        operation: "computeruse.checkboxConfirm.pointerAction";
        runtimeOwnsPointerEvents: true;
        runtimeOwnsInputPolicy: true;
        baseToolOwnsTapStrategy: false;
    };
    actionEnvelope: {
        resource: "pointer";
        action: "confirm";
        executed: boolean;
        metadataOnly: boolean;
        actionId?: string;
    };
    finalState?: CheckboxConfirmState;
    providerMetadata?: Readonly<Record<string, unknown>>;
};
export type CheckboxConfirmResult = {
    ok: true;
    toolId: "computeruse.checkboxConfirm";
    output: CheckboxConfirmOutput;
    audit: readonly CheckboxConfirmAuditEvent[];
    events: readonly string[];
} | {
    ok: false;
    toolId: "computeruse.checkboxConfirm";
    error: CheckboxConfirmError;
    audit: readonly CheckboxConfirmAuditEvent[];
    events: readonly string[];
};
export declare const checkboxConfirmDescriptor: {
    readonly toolId: "computeruse.checkboxConfirm";
    readonly capability: "confirm-mouse-checkbox";
    readonly route: "agent_executionEngine.basic_toolLayer.baseTools.computeruseBase.mouseEmulation";
    readonly defaultDryRun: true;
    readonly defaultExpectedState: "checked";
    readonly defaultClickMode: "single-click";
    readonly defaultCoordinateSpace: "screen";
    readonly maxCoordinate: 100000;
    readonly tapOwnsApproval: true;
    readonly runtimeEntry: "BaseToolExecutorPort.computeruse.pointerAction";
    readonly permissionsRequired: readonly ["pointer:write", "ui:action"];
    readonly unsafeSideEffects: true;
};
export declare function executeCheckboxConfirm(request?: unknown): Promise<CheckboxConfirmResult>;
export declare function planCheckboxConfirm(request?: unknown): Promise<CheckboxConfirmResult>;
