export declare function escapeCssStringContent(value: string, quote: "'" | '"'): string; export declare function stringifyFontFamily(name: string): string; export declare function maybeCssQuote(value: string): string; interface CssFontFaceRelation { format?: string; to: { type?: string; url: string; }; } export declare function getPreferredFontUrl(cssFontFaceSrcRelations?: CssFontFaceRelation[]): string | undefined; interface RelationWithHrefType { hrefType?: string; } interface PostCssToString { toString(): string; } export declare function getFontFaceDeclarationText(node: PostCssToString, relations: RelationWithHrefType[]): string; interface FontUsageLike { subsets?: Record; props: Record; codepoints?: { used: number[]; original: number[]; }; fontFamilies: Set; } export declare function getFontFaceForFontUsage(fontUsage: FontUsageLike): string; interface UnusedDeclaration { src?: string; relations: Array<{ to: { url: string; }; tokenRegExp?: RegExp; }>; 'font-family'?: string; 'font-style'?: string; 'font-weight'?: string; 'font-stretch'?: string; 'unicode-range'?: string; 'size-adjust'?: string; 'ascent-override'?: string; 'descent-override'?: string; 'line-gap-override'?: string; [key: string]: unknown; } export declare function getUnusedVariantsStylesheet(fontUsages: FontUsageLike[], accumulatedFontFaceDeclarations: UnusedDeclaration[]): string; export declare function getFontUsageStylesheet(fontUsages: FontUsageLike[]): string; export declare function getCodepoints(text: string): number[]; export declare function cssAssetIsEmpty(cssAsset: { parseTree: { nodes?: Array<{ type: string; text?: string; }>; }; }): boolean; export type RangeWarnFn = (err: Error) => void; export declare function parseFontWeightRange(str: string | undefined, warn?: RangeWarnFn): [number, number]; export declare function parseFontStretchRange(str: string | undefined, warn?: RangeWarnFn): [number, number]; export declare function uniqueChars(text: string): string; export declare function uniqueCharsFromArray(texts: string[]): string; export declare function hashHexPrefix(stringOrBuffer: string | Buffer | Uint8Array): string; export {}; //# sourceMappingURL=fontFaceHelpers.d.ts.map