import type { LogEntry, LogQuery } from "@skaile/workspaces/types"; export interface RemoteTailOptions { url: string; token?: string; projectId: string; sessionId: string; /** * Same shape as the history `LogQuery`. The platform's `onLogEntry` * subscription does NOT filter — filters are applied client-side here so * the user sees a consistent view between history and tail. */ query: Omit; signal?: AbortSignal; onEntry: (entry: LogEntry) => void; } /** * Subscribe to the platform's `workspace.onLogEntry` SSE stream and forward * each entry (after client-side filtering) to `onEntry`. Resolves cleanly * when `signal` is aborted. */ export declare function remoteTail(opts: RemoteTailOptions): Promise; //# sourceMappingURL=remote-tail.d.ts.map