import * as React from 'react'; import { ColorNames } from '../types/ITheme'; export declare const sizes: { xs: { width: string; height: string; }; md: { width: string; height: string; }; lg: { width: string; height: string; }; }; export interface IIconProps { fill?: ColorNames; hoverFill?: ColorNames; width?: string; height?: string; size?: keyof typeof sizes; } export interface IIconState { isHover: boolean; } export declare const withIcon: (Component: any) => { new (props: IIconProps): { state: { isHover: boolean; }; handleHover(): void; getHeight(): string; getWidth(): string; getFill(): any; render(): JSX.Element; context: any; setState(state: IIconState | ((prevState: Readonly, props: Readonly) => IIconState | Pick | null) | Pick | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; }; contextType?: React.Context | undefined; }; //# sourceMappingURL=withIcon.d.ts.map