export type MouseClickBoundary = "input" | "contract" | "governance" | "scope" | "provider";
export type MouseClickGate = {
    accepted?: boolean;
    allowed?: boolean;
    reason?: string;
};
export type MouseClickContext = {
    runtimeId?: string;
    sessionId?: string;
    invocationId?: string;
    dryRun?: boolean;
    guard?: MouseClickGate;
    contract?: MouseClickGate;
    governance?: MouseClickGate;
    requestedScopes?: readonly string[];
    allowedScopes?: readonly string[];
    auditMetadata?: Readonly<Record<string, unknown>>;
};
export type MouseClickButton = "left" | "right" | "middle" | "back" | "forward";
export type MouseClickCoordinateSpace = "screen" | "window" | "normalized";
export type MouseClickPoint = {
    x: number;
    y: number;
};
export type MouseClickTarget = {
    button: MouseClickButton;
    clickCount: number;
    at?: MouseClickPoint;
    coordinateSpace: MouseClickCoordinateSpace;
    displayId?: string;
    windowId?: string;
    usesCurrentCursor: boolean;
};
export type MouseClickProviderRequest = {
    operation: "computeruse.mouseClick.pointerAction";
    target: MouseClickTarget;
    context: {
        runtimeId?: string;
        sessionId?: string;
        invocationId?: string;
        auditMetadata?: Readonly<Record<string, unknown>>;
    };
    purpose: string;
};
export type MouseClickProviderResult = {
    actionId: string;
    metadata?: Readonly<Record<string, unknown>>;
};
export type MouseClickProvider = (request: MouseClickProviderRequest) => Promise<MouseClickProviderResult> | MouseClickProviderResult;
export type MouseClickRequest = {
    target?: unknown;
    context?: unknown;
    button?: unknown;
    clickCount?: unknown;
    at?: unknown;
    coordinateSpace?: unknown;
    displayId?: unknown;
    windowId?: unknown;
    purpose?: unknown;
    metadata?: unknown;
    provider?: MouseClickProvider;
};
export type MouseClickErrorCode = "INVALID_REQUEST" | "INVALID_TARGET" | "INVALID_CONTEXT" | "MISSING_RUNTIME_ID" | "MISSING_PURPOSE" | "INVALID_BUTTON" | "INVALID_CLICK_COUNT" | "INVALID_COORDINATE_SPACE" | "INVALID_POINT" | "INVALID_DISPLAY_ID" | "INVALID_WINDOW_ID" | "SCOPE_DENIED" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED" | "PROVIDER_UNAVAILABLE" | "PROVIDER_FAILURE";
export type MouseClickError = {
    code: MouseClickErrorCode;
    message: string;
    boundary: MouseClickBoundary;
    publicSafe: true;
    safeForRuntimeInspection: true;
    internalDetailExposed: false;
};
export type MouseClickAuditEvent = {
    type: string;
    toolId: "computeruse.mouseClick";
    invocationId: string;
    dryRun: boolean;
    metadata: Readonly<Record<string, unknown>>;
};
export type MouseClickOutput = {
    kind: "agentCore.basicTool.computeruse.mouseClick";
    target: MouseClickTarget;
    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.mouseClick.pointerAction";
        runtimeOwnsPointerEvents: true;
        runtimeOwnsInputPolicy: true;
        baseToolOwnsTapStrategy: false;
    };
    actionEnvelope: {
        resource: "pointer";
        action: "click";
        executed: boolean;
        metadataOnly: boolean;
        actionId?: string;
    };
    providerMetadata?: Readonly<Record<string, unknown>>;
};
export type MouseClickResult = {
    ok: true;
    toolId: "computeruse.mouseClick";
    output: MouseClickOutput;
    audit: readonly MouseClickAuditEvent[];
    events: readonly string[];
} | {
    ok: false;
    toolId: "computeruse.mouseClick";
    error: MouseClickError;
    audit: readonly MouseClickAuditEvent[];
    events: readonly string[];
};
export declare const mouseClickDescriptor: {
    readonly toolId: "computeruse.mouseClick";
    readonly capability: "click-pointer";
    readonly route: "agent_executionEngine.basic_toolLayer.baseTools.computeruseBase.mouseEmulation";
    readonly defaultDryRun: true;
    readonly defaultButton: "left";
    readonly defaultClickCount: 1;
    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 executeMouseClick(request?: unknown): Promise<MouseClickResult>;
export declare function planMouseClick(request?: unknown): Promise<MouseClickResult>;
