Files

4 lines
245 B
TypeScript
Raw Permalink Normal View History

2022-12-27 12:05:56 +01:00
import type { RemotePattern } from './image-config';
export declare function matchRemotePattern(pattern: RemotePattern, url: URL): boolean;
export declare function hasMatch(domains: string[], remotePatterns: RemotePattern[], url: URL): boolean;