astock-agent/frontend/node_modules/next/dist/shared/lib/match-remote-pattern.d.ts
2026-04-07 20:51:00 +08:00

4 lines
251 B
TypeScript

import type { RemotePattern } from './image-config';
export declare function matchRemotePattern(pattern: RemotePattern, url: URL): boolean;
export declare function hasRemoteMatch(domains: string[], remotePatterns: RemotePattern[], url: URL): boolean;