Files
Tiber365/node_modules/astro/dist/assets/fonts/implementations/font-fetcher.d.ts
2025-07-24 18:46:24 +02:00

9 lines
391 B
TypeScript

import type { Storage } from 'unstorage';
import type { ErrorHandler, FontFetcher } from '../definitions.js';
export declare function createCachedFontFetcher({ storage, errorHandler, fetch, readFile, }: {
storage: Storage;
errorHandler: ErrorHandler;
fetch: (url: string, init?: RequestInit) => Promise<Response>;
readFile: (url: string) => Promise<Buffer>;
}): FontFetcher;