UNPKG

astro

Version:

Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

16 lines (15 loc) 540 B
import type { Hasher, ProxyData, UrlProxyContentResolver, UrlProxyHashResolver } from '../definitions.js'; import type { FontType } from '../types.js'; export declare class BuildUrlProxyHashResolver implements UrlProxyHashResolver { #private; constructor({ hasher, contentResolver, }: { hasher: Hasher; contentResolver: UrlProxyContentResolver; }); resolve({ originalUrl, type, }: { originalUrl: string; type: FontType; cssVariable: string; data: ProxyData; }): string; }