import type { OpenCode2Context } from "./opencode2-types.js"; /** 2.x model check: `GET /api/model` lists the configured model directly (no `/provider.all` * nesting to walk, unlike 1.x's `verifyServerModel`). Same refusal sentence shape, different * route and body — measured in fx105/measurements.md (routes). The server answers `/api/model` * with an empty listing for up to about a second after the location boot its first `/api/config` * triggers (fx105/brief-g.md measurement), so an empty listing is polled every 200 ms until the * provider appears rather than refused on the first read. The wait is bounded: a server that * never lists anything within the deadline is a real refusal, not a hang. */ export declare const MODEL_LIST_SETTLE_MS = 10000; /** The 2.x `setup(context)` entry point. */ export declare function setupCotal(ctx: OpenCode2Context): Promise<(() => Promise) | void>; //# sourceMappingURL=plugin2.d.ts.map