interface OptionalOptions {
    fontFamily?: string;
    fontSize?: string;
    fontWeight?: string;
    letterSpacing?: string;
    lineHeight?: string;
    width?: string;
    wordBreak?: string;
}
export interface Size {
    height: number;
    width: number;
}
declare const calculateSize: (text: string, options?: OptionalOptions) => Size;
export default calculateSize;
