import { TextMetrics } from '../types';
export declare const getTextMetrics: (font: string, text: string) => TextMetrics;
interface StaticLegendTextMetrics {
    headerTextMetrics: TextMetrics;
    sampleTextMetrics: TextMetrics;
}
export declare const getStaticLegendTexMetrics: () => StaticLegendTextMetrics;
export {};
