import * as React from 'react'; import { ImageSourcePropType } from 'react-native'; declare type IconSourceBase = string | ImageSourcePropType; export declare type IconSource = IconSourceBase | Readonly<{ source: IconSourceBase; direction: 'rtl' | 'ltr' | 'auto'; }> | ((props: IconProps & { color: string; }) => React.ReactNode); declare type IconProps = { size: number; allowFontScaling?: boolean; }; declare type Props = IconProps & { color?: string; source: any; /** * @optional */ theme: ReactNativePaper.Theme; }; export declare const isValidIcon: (source: any) => boolean; export declare const isEqualIcon: (a: any, b: any) => boolean; declare const _default: React.ComponentType & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & (({ source, color, size, theme, ...rest }: Props) => any), {}>; export default _default;