import type { AuditTask } from "../types.js"; import { ESTIMATED_TOKENS_PER_LINE } from "audit-tools/shared"; export { ESTIMATED_TOKENS_PER_LINE }; export declare const ESTIMATED_PACKET_PROMPT_TOKENS = 900; /** * Build a path → size_bytes index from a repo manifest. Byte counts are * recorded during intake, so this never reads files. Review packet token * estimates are derived from these bytes (Phase 2) instead of counted lines. */ export declare function sizeIndexFromManifest(repoManifest?: { files: ReadonlyArray<{ path: string; size_bytes: number; }>; }): Record; /** Estimated content tokens for one task across all of its files. */ export declare function taskContentTokens(task: AuditTask, sizeIndex?: Record, lineIndex?: Record): number; /** * Estimated content tokens across a set of file paths, resolving an owning task * per path so the line fallback can read its `file_line_counts`. Shared files * are counted once. */ export declare function fileGroupContentTokens(filePaths: Iterable, tasks: AuditTask[], sizeIndex?: Record, lineIndex?: Record): number; export declare function estimateTaskGroupTokens(tasks: AuditTask[], sizeIndex?: Record, lineIndex?: Record): number; //# sourceMappingURL=reviewPacketSizing.d.ts.map