import type { CortexStore } from '../db/store.js'; export declare function formatTokens(n: number): string; export declare function resolveProjectScopeKey(store: CortexStore): string; export declare function resolveWorkingScopeKeys(store: CortexStore): string[]; export declare function buildHeader(store: CortexStore): string; export interface BuildFullStateOptions { /** Estimated-token cap; lower-priority sections drop from the bottom. */ budget?: number; } export declare const DEFAULT_FULL_STATE_BUDGET = 800; export declare function buildFullState(store: CortexStore, options?: BuildFullStateOptions): string; //# sourceMappingURL=state.d.ts.map