15 lines
810 B
TypeScript
15 lines
810 B
TypeScript
import type { Defaults, FontType } from './types.js';
|
|
export declare const LOCAL_PROVIDER_NAME = "local";
|
|
export declare const DEFAULTS: Defaults;
|
|
export declare const VIRTUAL_MODULE_ID = "virtual:astro:assets/fonts/internal";
|
|
export declare const RESOLVED_VIRTUAL_MODULE_ID: string;
|
|
export declare const ASSETS_DIR = "fonts";
|
|
export declare const CACHE_DIR = "./fonts/";
|
|
export declare const FONT_TYPES: readonly ["woff2", "woff", "otf", "ttf", "eot"];
|
|
export declare const FONT_FORMATS: Array<{
|
|
type: FontType;
|
|
format: string;
|
|
}>;
|
|
export declare const GENERIC_FALLBACK_NAMES: readonly ["serif", "sans-serif", "monospace", "cursive", "fantasy", "system-ui", "ui-serif", "ui-sans-serif", "ui-monospace", "ui-rounded", "emoji", "math", "fangsong"];
|
|
export declare const FONTS_TYPES_FILE = "fonts.d.ts";
|