/** Provider-bound tool prose budgets. Structural schemas remain separate and exact. */ export declare const MAX_PROVIDER_TOOL_SNIPPET_CHARS = 120; export declare const MAX_PROVIDER_TOOL_GUIDELINE_CHARS = 140; export declare const MAX_PROVIDER_TOOL_GUIDELINES_CHARS = 1200; export declare function normalizeProviderPromptSnippet(text: string | undefined): string | undefined; /** * Bounds a guideline list to MAX_PROVIDER_TOOL_GUIDELINES_CHARS, preserving caller order (callers * that must survive budget pressure — e.g. a MANDATORY directive — should list those first). * * Guidelines that do not fit the remaining budget are dropped WHOLE, never truncated mid-word: a * half-sentence directive silently missing its second half is worse than the directive being absent. * Truncation only ever applies to the pathological case of a single guideline that alone exceeds the * *entire* budget — dropping it would erase it forever, so it is truncated to what's left instead * (and never down to a bare ellipsis with no real content). * * `onBounded`, when provided, receives one diagnostic message per dropped or truncated guideline — * this bounding is silent otherwise, which is itself a defect this parameter exists to let a caller * close (see delegate.ts, the only current caller that wires it to a warning channel). */ export declare function normalizeProviderPromptGuidelines(guidelines: string[] | undefined, onBounded?: (message: string) => void): string[]; //# sourceMappingURL=provider-tool-text.d.ts.map