/** OpenCode 2 adapter. Keep the scoring/storage engine shared with the V1 plugin. */ import type { Context, Cleanup } from "@opencode/plugin/promise/plugin"; /** The text a tool result carries. Structured `output` counts at its JSON size. */ export declare function textOf(result: unknown): string; export declare function setupV2(ctx: Context): Promise; //# sourceMappingURL=v2.d.ts.map