import * as i0 from '@angular/core'; import { OnChanges, SimpleChanges } from '@angular/core'; import * as i3 from '@angular/material/icon'; import { MatIcon } from '@angular/material/icon'; import * as i2 from '@angular/common'; /** * Decode the FontAwesome icon font set name from the icon name * * `'far fa-alarm' => 'far'` * * `'home' => ''` * * `'fa-user' => 'fas'` */ declare function decodeFAIconFontSet(iconName: string): string; /** * Decode the FontAwesome icon font name from the icon name * * `'far fa-alarm' => 'fa-alarm'` * * `'home' => ''` * * `'fa-user' => 'fa-user'` */ declare function decodeFAIconFontName(iconName: string): string; /** * @ignore */ declare const BUI_ICON_MAT_VARIANTS: string[]; /** * Use this directive, together with ``, to display an icon font character/symbol * from Material or FontAwesome icons. * * To use the icon fonts, add the following statements to one of your global SCSS files: * * ```css * @import url(https://fonts.googleapis.com/css2?family=Material+Icons); * @import url(https://use.fontawesome.com/releases/v5.15.0/css/all.css); * ``` * * @example * @example */ declare class IconDirective implements OnChanges { private _icon; /** * The icon name * * @example 'far fa-circle' * @example 'home' */ buiIcon: string; /** * Override the default icon size * * @default 24 */ size: number; /** * The style variant of Material Icons. It is not applicable for Font Awesome Icons or any other custom font icon sets. * @default `filled` */ variant: 'filled' | 'outlined' | 'round' | 'two-tone' | 'sharp'; constructor(_icon: MatIcon); ngOnChanges(_: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Module for utility functions and directives based on `mat-icon` and icon fonts. */ declare class IconFontModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { BUI_ICON_MAT_VARIANTS, IconDirective, IconFontModule, decodeFAIconFontName, decodeFAIconFontSet };