import { CoolhandRequestOptions, CoolhandMatchedPattern, CoolhandAPIPattern } from '../types.js'; interface PatternMatchingServiceOptions { customPatternsFile?: string; silent?: boolean; } declare class PatternMatchingService { private apiPatterns; private isInitialized; private silent; constructor(options?: string | PatternMatchingServiceOptions); private initializePatternsSync; private initializePatterns; private loadDefaultPatternsForEdge; private validatePatternsShape; private loadAPIPatterns; private loadAPIPatternsSync; private ensureInitialized; private hostnameMatchesDomain; private safeMatch; matchesAPIPattern(options: CoolhandRequestOptions | string | URL): Promise; matchesAPIPatternSync(options: CoolhandRequestOptions | string | URL): CoolhandMatchedPattern | null; matchesAPIPatternFromURL(url: string): CoolhandMatchedPattern | null; sanitizeHeaders(headers: any, pattern?: CoolhandAPIPattern): Record; sanitizeURL(url: string): string; getLoadedPatterns(): Promise; getPatternsCount(): Promise; getLoadedPatternsSync(): CoolhandAPIPattern[]; getPatternsCountSync(): number; } export { PatternMatchingService, type PatternMatchingServiceOptions };