import * as i1 from '@angular/cdk/bidi'; import { Directionality, Direction } from '@angular/cdk/bidi'; import * as i0 from '@angular/core'; declare function generateID(): string; declare function isElementInViewport(el: HTMLElement): boolean; /** * Uses canvas.measureText to compute and return the width of the given text of given font in pixels. * * @param {String} text The text to be rendered. * @param el the element used to compute the font styles * * @see https://stackoverflow.com/questions/118241/calculate-text-width-with-javascript/21015393#21015393 */ declare function getTextWidth(text: string, el?: HTMLElement): number; /** Resolves a string value to a specific direction. */ declare function _resolveDirectionality(rawValue: string): Direction; declare class BuiCommonModule { constructor(dir: Directionality, thisModule: BuiCommonModule, document: Document); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { BuiCommonModule, _resolveDirectionality, generateID, getTextWidth, isElementInViewport };