/**
 * Extract all SPEC-NNN identifiers mentioned in a string.
 * Returns an empty array when none found.
 */
export declare function extractSpecIds(text: string): string[];
/**
 * Extract an AC reference like "AC-3" or "AC3" from a string.
 * Returns the first match or undefined.
 */
export declare function extractAcRef(text: string): string | undefined;
/**
 * Record that `toolName` accessed `specId` (and optionally `acRef`).
 * Fire-and-forget — errors are suppressed to avoid disrupting the caller.
 */
export declare function trackSpecAccess(projectId: string, toolName: string, specId: string, acRef?: string): void;
/**
 * Inspect a tool call's args object and record usage events for any SPEC-NNN
 * identifiers found in string fields. Designed to be called from safe-handler
 * or tool wrappers without any performance impact.
 */
export declare function trackFromArgs(projectId: string, toolName: string, args: unknown): void;
//# sourceMappingURL=tracker.d.ts.map