import { type EndpointHelloPayload } from '@xopcai/endpoint-tools-protocol'; import type { DeviceRecord } from '../storage/sqlite/device-access-repository.js'; /** Only the authenticated device and its exact, still-active local grant may register an executor. */ export declare function assertDesktopExecutionHello(device: DeviceRecord, hello: EndpointHelloPayload, registeredKey: string | undefined, gatewayId: string, clientId: string, capabilities: readonly string[], now?: number): { gatewayId: string; deviceId: string; clientId: string; connectionInstanceId: string; authorizationRevision: number; grantId: string; expiresAt: number; operationStatus?: true | undefined; workspaceId?: string | undefined; };