UNPKG

504 BTypeScriptView Raw
1import { Menu } from '@phosphor/widgets';
2import { CommandRegistry } from '@phosphor/commands';
3import { IFontManager } from '.';
4export declare class FontManager implements IFontManager {
5 private _codeFontFamily;
6 private _codeStyle;
7 private _codeFontMenu;
8 private _commands;
9 constructor(commands: CommandRegistry);
10 readonly menus: Menu[];
11 readonly styles: HTMLStyleElement[];
12 codeFontFamily: string;
13 registerCodeFont(fontFamily: string, variants?: string[]): void;
14}