export interface FontMetrics { /** from textmetrics, this is the font ascent (max, essentially) */ ascent: number; /** from textmetrics, this is the font descent (max) */ descent: number; /** total height for the font (line height). just ascent + descent. should we +1 for baseline? */ height: number; /** width of one paren */ paren: number; /** width of one hash (#) character */ hash: number; } /** * get font metrics for the given font, which includes a size. * precompute the size, we're not doing that anymore. */ export declare const Get: (font: string, variants?: string) => FontMetrics; /** * flush cache. this should be called when you update the theme */ export declare const Flush: () => void;