import { Style } from "../../types/Metadata"; import { MakeFontContext } from "./MakeFontContext"; import { SvgIcons2SvgfontOptions } from "./Svgicons2svgfontOptions"; import { MakeFontBlob } from "./RenderContext"; import { Logger } from "../../types/Logger"; export declare type GlyphMetadata = { name: string; unicode?: string[]; }; export declare type GlyphData = { contents: string; metadata: GlyphMetadata; }; export declare type WebfontResult = { webfonts: MakeFontBlob[]; scss: MakeFontBlob[]; fontFace?: string; hash?: string; }; export declare type WebfontTask = { glyphsData: GlyphData[]; style: Style; context: MakeFontContext; }; export declare type Format = "eot" | "woff" | "woff2" | "svg" | "ttf"; export declare type Formats = Array; export declare type ToSvgContext = { logger: Logger; style: Style; }; export declare type ToSvgOptions = { glyphsData: GlyphData[]; fontStreamOptions: SvgIcons2SvgfontOptions; context: ToSvgContext; }; export declare type Webfont = (webfontTask: WebfontTask) => Promise;