/** * OpenCode Go dashboard scraper. * * Fetches the OpenCode Go workspace page and parses SolidJS SSR hydration * output for known usage windows (`rollingUsage`, `weeklyUsage`, and * `monthlyUsage`) containing `usagePercent` and `resetInSec`. */ import type { OpenCodeGoResult } from "./types.js"; interface ScrapedWindowUsage { usagePercent: number; resetInSec: number; } declare function parseWindowUsage(html: string, rePctFirst: RegExp, reResetFirst: RegExp): ScrapedWindowUsage | null; export declare function queryOpenCodeGoQuota(workspaceId: string, authCookie: string, options?: { requestTimeoutMs?: number; }): Promise; export { parseWindowUsage as _parseWindowUsage }; //# sourceMappingURL=opencode-go.d.ts.map