export interface DomainFilter { allow: string[]; deny: string[]; } export type DomainVerdict = "allow" | "deny-listed" | "not-allowed"; export declare function classifyUrl(url: string, filter: DomainFilter): DomainVerdict; export declare function matchesAny(host: string, patterns: string[]): boolean; export declare function normalizePattern(raw: string): string; export declare function canServeAllowedDomain(servesDomains: readonly string[], allow: readonly string[]): boolean; export declare function parseDomainList(s: string | undefined): string[]; //# sourceMappingURL=domain-filter.d.ts.map