/** Flow guard: who or what a call is aimed at, and whether the user named it. */ import type { FlowPolicy, FlowState } from './flow-guard-types.js'; export declare const MAX_RESOLVED = 200; export declare const DEST_ARG_NAMES: Set; export declare function namesParty(input: Record, texts: readonly string[]): boolean; export declare function destinations(toolName: string, input: Record, policy: FlowPolicy, hosts: readonly string[]): string[]; /** * The operator named this tool's destination arguments and the call sets none of them: it acts on an * existing relationship (change the amount of a standing order, not its payee), so no new party is reached. * Unconfigured tools never qualify: without the operator's word, an absent argument proves nothing. */ export declare function keepsDestination(toolName: string, input: Record, policy: FlowPolicy): boolean; /** Only structured records from explicitly configured contact tools may resolve a full display name. * Arbitrary prose, YAML, capitalized words and local file reads cannot create authority. */ export declare function resolvedContacts(value: unknown, depth?: number): Array<{ v: string; names: string[]; }>; /** A URL mentioned in prose cannot stand in for an actual target argument. */ export declare function hasDestinationArgument(tool: string, input: Record, policy: FlowPolicy): boolean; export declare function allowedDestination(destination: string, patterns: readonly string[]): boolean; export declare function namedByUser(dests: readonly string[], intent: readonly string[] | undefined, intentRaw?: readonly string[], resolved?: FlowState['resolved']): boolean; //# sourceMappingURL=flow-guard-destinations.d.ts.map