import type { LogEntry, LogQuery } from "@skaile/workspaces/types"; export interface RemoteQueryResult { entries: LogEntry[]; nextCursor?: string; } /** * Call the platform tRPC `workspace.queryLogs` procedure. * * Untyped client — the platform AppRouter is not exported as an installable * package across the workspaces / platform repo boundary. The shape of * the `queryLogs` procedure is stable and documented in * `platform/backend/libs/router-trpc/src/routes/workspace.route.ts`. * * The procedure expects: * { projectId, sessionId?, query: LogQuery (without sessionId) } * and returns: * { entries: LogEntry[], nextCursor?: string } */ export declare function remoteQuery(args: { url: string; token?: string; projectId: string; sessionId: string; query: Omit; }): Promise; //# sourceMappingURL=remote-query.d.ts.map