Files
skills-here-run-place/node_modules/astro/dist/assets/fonts/infra/dev-font-file-id-generator.d.ts
Alejandro Martinez f09af719cf Initial commit
2026-02-12 02:04:10 +01:00

17 lines
596 B
TypeScript

import type * as unifont from 'unifont';
import type { FontFileContentResolver, FontFileIdGenerator, Hasher } from '../definitions.js';
import type { FontType } from '../types.js';
export declare class DevFontFileIdGenerator implements FontFileIdGenerator {
#private;
constructor({ hasher, contentResolver, }: {
hasher: Hasher;
contentResolver: FontFileContentResolver;
});
generate({ cssVariable, originalUrl, type, font, }: {
originalUrl: string;
type: FontType;
cssVariable: string;
font: unifont.FontFaceData;
}): string;
}