Files
talk-pro/node_modules/astro/dist/assets/fonts/infra/ssr-runtime-font-file-url-resolver.d.ts
2026-05-12 16:16:03 +08:00

13 lines
462 B
TypeScript

import type { RuntimeFontFileUrlResolver } from '../definitions.js';
/**
* During SSR, we don't know ahead of time where the server is located.
* We rely on `requestUrl` (provided by the user) to construct the URL.
*/
export declare class SsrRuntimeFontFileUrlResolver implements RuntimeFontFileUrlResolver {
#private;
constructor({ urls, }: {
urls: Set<string>;
});
resolve(url: string, requestUrl: URL | undefined): string | null;
}