9 lines
253 B
TypeScript
9 lines
253 B
TypeScript
import type { OpencodeClient } from "./types";
|
|
export declare function fetchSyncResult(client: OpencodeClient, sessionID: string, anchorMessageCount?: number): Promise<{
|
|
ok: true;
|
|
textContent: string;
|
|
} | {
|
|
ok: false;
|
|
error: string;
|
|
}>;
|