import { type DesktopExecutionGrant } from '@xopcai/gateway-contract'; export declare function getDesktopExecutionGrant(deviceId: string, now?: number): { grant?: { version: 1; grantId: string; localApprovalId: string; toolRevisions: Partial>; expiresAt: number; workspaceId?: string | undefined; } | undefined; deviceId: string; revision: number; enabled: boolean; active: boolean; } | undefined; /** Input must have been approved locally and authenticated with this device's request proof. */ export declare function setDesktopExecutionGrant(deviceId: string, expectedRevision: number, input: DesktopExecutionGrant, now?: number): { grant?: { version: 1; grantId: string; localApprovalId: string; toolRevisions: Partial>; expiresAt: number; workspaceId?: string | undefined; } | undefined; deviceId: string; revision: number; enabled: boolean; active: boolean; }; export declare function revokeDesktopExecutionGrant(deviceId: string, grantId: string, expectedRevision: number, now?: number): { grant?: { version: 1; grantId: string; localApprovalId: string; toolRevisions: Partial>; expiresAt: number; workspaceId?: string | undefined; } | undefined; deviceId: string; revision: number; enabled: boolean; active: boolean; };