/** * Scoped tracker for deprecation and warning messages. * Allows adapters to register patterns that should be ignored or explicitly failed. */ export declare class DeprecationTracker { private ignoredPatterns; private failurePatterns; /** * Registers a pattern to be ignored. */ registerIgnore(pattern: string | RegExp | (string | RegExp)[]): void; /** * Registers a pattern that should explicitly fail the test, even if it doesn't contain "deprecated". */ registerFailure(pattern: string | RegExp | (string | RegExp)[]): void; /** * Checks if a warning message should be ignored. */ shouldIgnore(text: string): boolean; /** * Checks if a warning message should cause a test failure. */ shouldFail(text: string): boolean; }