import type { ContextItem, DroppedItem } from '../types'; export interface PackDecision { included: ContextItem[]; dropped: DroppedItem[]; totalTokens: number; } /** * Greedy knapsack packer. * * 1. Include all required items unconditionally. * 2. Sort remaining items by score descending. * 3. Greedily add items until the budget is exhausted. * 4. Record dropped items with reasons. */ export declare function greedyPack(items: ContextItem[], budget: number): PackDecision;