interface configOpts {
    font: string;
    width?: number;
    height?: number;
}
export declare const getTextWidth: (text: string, { font, width, height }: configOpts) => number;
export default getTextWidth;
