/** * Helper to call Cloud Functions that return plain JSON (not SSE). * Used for nano app CRUD and discovery endpoints. */ export declare function setChannel(ch: string): void; export declare function callJsonEndpoint(endpoint: string, body?: Record, apiKey?: string, userEmail?: string): Promise;