/** * Pairing routes: Allow users to pair their agent with the dashboard. * Provides a web page with pairing link, QR code, and 6-digit fallback code. */ import { Router } from 'express'; interface PairingCode { code: string; machineId: string; machineName: string; agentUrl: string; createdAt: number; expiresAt: number; } declare const pairingCodes: Map; declare function generateCode(): string; declare function createToken(payload: object, secret: string, expiresInMs: number): string; export declare function verifyToken(token: string, secret: string): { valid: boolean; payload?: Record; error?: string; }; declare function getAgentUrl(): string; declare function getDashboardUrl(): string; export declare function createPairRoutes(): Router; export { pairingCodes, generateCode, createToken, getAgentUrl, getDashboardUrl }; //# sourceMappingURL=pair.d.ts.map