interface RecursiveKeyValuePair { [key: string]: V | RecursiveKeyValuePair; } interface FontConfig extends RecursiveKeyValuePair { '@font-face': { fontFamily: string; fontWeight: string; fontStyle: string; fontDisplay: string; src: string; unicodeRange?: string; }; } interface IFont { getConfig(): FontConfig; getTitle(): string; } declare class FontsCollection { #private; constructor(); addItem(item: IFont): this; getList(): IFont[]; } declare const groupsFonts: FontsCollection; export default groupsFonts;