/** * Non-blocking advisory for a request whose `responseMatches` count is less * than its `responseRedactions` count. * * Some verification clients (notably the InApp SDK) pair the two arrays by * index and may not behave correctly when there are fewer matches than * redactions. This is NOT enforced — the author keeps full control over what * they publish in either old-devtools or builder mode. The tools surface these * strings so the dev can make an informed decision (for example, add a * functional match per redaction) rather than being blocked. */ /** One request's match/redaction counts, with a human label for the message. */ export interface RequestCounts { label: string; matchCount: number; redactionCount: number; } /** Build advisory warnings for any request with matchCount < redactionCount. * Returns an empty array when everything is fine. */ export declare function matchRedactionWarnings(requests: RequestCounts[]): string[]; /** Counts for a single drafted request shape (provider or injected request). */ export declare function countsFor(label: string, req: { responseMatches?: unknown[]; responseRedactions?: unknown[]; }): RequestCounts;