/**
 * Prefix matching policy rule evaluator.
 *
 * PrefixRule matches tool calls by tool name and optionally the command prefix
 * of the first string argument. Independently testable — no external dependencies.
 */
import type { PrefixRule, EvaluationStep } from '../types.js';
/** Result returned by evaluatePrefixRule. */
export interface PrefixRuleResult {
    matched: boolean;
    step: EvaluationStep;
}
/**
 * evaluatePrefixRule — Evaluates a single PrefixRule against a tool call.
 *
 * Returns `matched: true` only when:
 *   1. The tool name matches the rule's `toolPattern`, AND
 *   2. Either no `commandPrefixes` are specified, OR the primary command arg
 *      starts with at least one of the specified prefixes (case-insensitive).
 *
 * @param rule     — The PrefixRule to evaluate.
 * @param toolName — Name of the tool being called.
 * @param args     — Arguments passed to the tool.
 */
export declare function evaluatePrefixRule(rule: PrefixRule, toolName: string, args: Record<string, unknown>): PrefixRuleResult;
//# sourceMappingURL=prefix.d.ts.map