import type { CapabilityInvocation } from '../types.js'; export interface ScavengeOptions { /** Allowlist of tool names the model is permitted to call. */ allowedNames: ReadonlySet; /** Cap on scavenged calls per pass — defence against runaway. */ maxCalls?: number; } export interface ScavengeResult { calls: CapabilityInvocation[]; notes: string[]; } export declare function scavengeToolCalls(text: string | null | undefined, opts: ScavengeOptions): ScavengeResult;