import type { FontsPackageInfo } from "../fonts/index.ts"; import type { FontVariant } from "../types.ts"; /** * Options for getting CSS for @font-face */ export type GetFontsCssOptions = { /** The CSS font-family name to match. */ name: string; /** Variants to match by weight and style. */ variants: FontVariant[]; /** Output directory name. */ outputDirectory: string; }; /** * Result of CSS processing, including matched CSS and font filenames. */ export type GetFontsCssResult = { css: string; filenames: string[]; }; /** * Loads, matches, and transforms the CSS for @font-face rules from a font package. * * Matches @font-face blocks by font-family name, weight, and style against the provided variants. * Returns the processed CSS and the list of matched font filenames. */ export declare function getFontsCss(options: GetFontsCssOptions, fontPackageInformation: FontsPackageInfo | null): GetFontsCssResult; //# sourceMappingURL=get.d.ts.map