import { FluxIconName, FluxIconStyle } from '@flux-ui/types'; import { IconDefinition, IconPathData } from '@fortawesome/fontawesome-common-types'; type Icon = [number, number, string[], string, IconPathData]; type IconRegistry = Partial<{ [key in FluxIconName]: Icon; }>; type Icons = Record; type IconRenderMode = 'svg' | 'font'; type IconConfig = { renderMode: IconRenderMode; defaultStyle: FluxIconStyle; styleOverrides: Partial>; }; type ConfigureIconsOptions = { readonly renderMode?: IconRenderMode; readonly defaultStyle?: FluxIconStyle; readonly styleOverrides?: Partial>; readonly icons?: Icons | readonly IconDefinition[]; }; export declare let iconRegistry: IconRegistry; export declare const iconConfig: IconConfig; export declare function configureIcons(options: ConfigureIconsOptions): void; /** * @deprecated Use {@link configureIcons} instead: `configureIcons({icons})`. */ export declare function fluxRegisterIcons(icons: Icons | readonly IconDefinition[]): void; export {};