securityos/node_modules/next/dist/shared/lib/match-remote-pattern.d.ts

4 lines
245 B
TypeScript

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;