export type InputCheckboxConfirmBoundary = "input" | "contract" | "governance" | "scope" | "provider";
export type InputCheckboxConfirmGate = {
    accepted?: boolean;
    allowed?: boolean;
    reason?: string;
};
export type InputCheckboxConfirmState = "checked" | "unchecked";
export type InputCheckboxConfirmKey = "space" | "enter";
export type InputCheckboxConfirmContext = {
    runtimeId?: string;
    sessionId?: string;
    invocationId?: string;
    dryRun?: boolean;
    guard?: InputCheckboxConfirmGate;
    contract?: InputCheckboxConfirmGate;
    governance?: InputCheckboxConfirmGate;
    requestedScopes?: readonly string[];
    allowedScopes?: readonly string[];
    auditMetadata?: Readonly<Record<string, unknown>>;
};
export type InputCheckboxConfirmTarget = {
    label?: string;
    selectorHint?: string;
    expectedState: InputCheckboxConfirmState;
    currentState?: InputCheckboxConfirmState;
    confirmationKey: InputCheckboxConfirmKey;
    keySequence: readonly ["Space"] | readonly ["Enter"];
    wouldToggle: boolean;
};
export type InputCheckboxConfirmProviderRequest = {
    operation: "computeruse.inputCheckboxConfirm.confirm";
    target: InputCheckboxConfirmTarget;
    context: {
        runtimeId?: string;
        sessionId?: string;
        invocationId?: string;
        auditMetadata?: Readonly<Record<string, unknown>>;
    };
    purpose: string;
};
export type InputCheckboxConfirmProviderResult = {
    actionId: string;
    metadata?: Readonly<Record<string, unknown>>;
};
export type InputCheckboxConfirmProvider = (request: InputCheckboxConfirmProviderRequest) => Promise<InputCheckboxConfirmProviderResult> | InputCheckboxConfirmProviderResult;
export type InputCheckboxConfirmRequest = {
    target?: unknown;
    context?: unknown;
    label?: unknown;
    selectorHint?: unknown;
    expectedState?: unknown;
    currentState?: unknown;
    confirmationKey?: unknown;
    purpose?: unknown;
    metadata?: unknown;
    provider?: InputCheckboxConfirmProvider;
};
export type InputCheckboxConfirmErrorCode = "INVALID_REQUEST" | "INVALID_CONTEXT" | "MISSING_RUNTIME_ID" | "MISSING_PURPOSE" | "MISSING_TARGET" | "INVALID_TARGET" | "INVALID_STATE" | "INVALID_CONFIRMATION_KEY" | "SCOPE_DENIED" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED" | "PROVIDER_UNAVAILABLE" | "PROVIDER_FAILURE";
export type InputCheckboxConfirmError = {
    code: InputCheckboxConfirmErrorCode;
    message: string;
    boundary: InputCheckboxConfirmBoundary;
    publicSafe: true;
    safeForRuntimeInspection: true;
    internalDetailExposed: false;
};
export type InputCheckboxConfirmAuditEvent = {
    type: string;
    toolId: "computeruse.inputCheckboxConfirm";
    invocationId: string;
    dryRun: boolean;
    targetHint?: string;
    metadata: Readonly<Record<string, unknown>>;
};
export type InputCheckboxConfirmOutput = {
    kind: "agentCore.basicTool.computeruse.inputCheckboxConfirm";
    target: InputCheckboxConfirmTarget;
    purpose: string;
    dispatch: "dry-run" | "runtime-computeruse";
    dryRun: boolean;
    providerCalled: boolean;
    executionBlocked: boolean;
    unsafeSideEffects: true;
    permissionsRequired: readonly ["keyboard:write", "ui:focus"];
    requiresTapApproval: true;
    acceptedScopes: readonly string[];
    runtimeEntry: {
        port: "BaseToolExecutorPort.computeruse.keyboardAction";
        operation: "computeruse.inputCheckboxConfirm.confirm";
        runtimeOwnsKeyboardEvents: true;
        runtimeOwnsFocusBoundary: true;
        baseToolOwnsTapStrategy: false;
    };
    actionEnvelope: {
        resource: "keyboard";
        action: "confirm";
        emitted: boolean;
        metadataOnly: boolean;
        confirmationKey: InputCheckboxConfirmKey;
        keySequence: readonly ["Space"] | readonly ["Enter"];
        expectedState: InputCheckboxConfirmState;
        currentState?: InputCheckboxConfirmState;
        wouldToggle: boolean;
        actionId?: string;
    };
    providerMetadata?: Readonly<Record<string, unknown>>;
};
export type InputCheckboxConfirmResult = {
    ok: true;
    toolId: "computeruse.inputCheckboxConfirm";
    output: InputCheckboxConfirmOutput;
    audit: readonly InputCheckboxConfirmAuditEvent[];
    events: readonly string[];
} | {
    ok: false;
    toolId: "computeruse.inputCheckboxConfirm";
    error: InputCheckboxConfirmError;
    audit: readonly InputCheckboxConfirmAuditEvent[];
    events: readonly string[];
};
export declare const inputCheckboxConfirmDescriptor: {
    readonly toolId: "computeruse.inputCheckboxConfirm";
    readonly capability: "confirm-input-checkbox";
    readonly route: "agent_executionEngine.basic_toolLayer.baseTools.computeruseBase.keyboardEmulation";
    readonly defaultDryRun: true;
    readonly defaultExpectedState: "checked";
    readonly defaultConfirmationKey: "space";
    readonly tapOwnsApproval: true;
    readonly runtimeEntry: "BaseToolExecutorPort.computeruse.keyboardAction";
    readonly permissionsRequired: readonly ["keyboard:write", "ui:focus"];
    readonly unsafeSideEffects: true;
};
export declare function executeInputCheckboxConfirm(request?: unknown): Promise<InputCheckboxConfirmResult>;
export declare function planInputCheckboxConfirm(request?: unknown): Promise<InputCheckboxConfirmResult>;
