import { RendererFactory2 } from '@angular/core'; import * as i0 from "@angular/core"; export declare class FontOptions { fontSize?: string; fontFamily?: string; letterSpacing?: string; lineHeight?: string; } export declare class StringUtilService { private _document; private _renderer; constructor(_rendererFactory: RendererFactory2, _document: any); getStringWidth(str: string, fontOptions?: string | FontOptions | CSSStyleDeclaration): number; getStringHeight(str: string, widthConstraint?: number, fontOptions?: string | FontOptions | CSSStyleDeclaration): any; padLeft(orig: string, len: number, pad: string): string; private _setElementCommonStringDimensionStyles; private _setElementFontOptions; static ɵfac: i0.ɵɵFactoryDef; static ɵprov: i0.ɵɵInjectableDef; }