import type { ModuleContext } from "@similie/hyphen-command-server-types"; export type AuthPayload = { deviceId: string; sigB64: string; }; export declare class DeviceAuth { private readonly ctx; constructor(ctx: ModuleContext); deviceSensors(identity: string): Promise<{ results: any; values: Record; }>; device(identity: string): Promise; private ds; /** * Parse "AUTH " * Returns null if invalid. */ parseAuthLine(line: string): AuthPayload | null; /** * Lookup device certificate by identity and verify signature * over `${deviceId}.${nonceB64}` using RSA-SHA256. */ verify(deviceId: string, nonceB64: string, sigB64: string): Promise; } //# sourceMappingURL=device-auth.d.ts.map