import { PiContextUsage } from "../types.js"; import { SessionEntry } from "@earendil-works/pi-coding-agent"; //#region src/node/contextUsage.d.ts /** * Context usage for a thread, computed purely from persisted data. Returns * `undefined` when usage can't be known (no model / no context window). */ export declare const deriveContextUsage: (contextWindow: number, branch: readonly SessionEntry[], messages: readonly unknown[]) => PiContextUsage | undefined; //#endregion //# sourceMappingURL=contextUsage.d.ts.map