import { type ImageRequireSource } from 'react-native'; import { type ClickActionProps } from './utils/click-action'; import type { CommonInternalProps } from './utils/common-internal.props'; import type { CommonStyleProps } from './utils/style.props'; interface SvgWidgetInternalProps extends CommonInternalProps { svgString?: string; svgUrl?: string; } export type SvgWidgetStyle = CommonStyleProps; export interface SvgWidgetProps extends ClickActionProps { style?: SvgWidgetStyle; /** * SVG file loaded with `require('./path/to/svg/file')`, * SVG string, or a path to svg starting with "http:" or "https:" */ svg: string | ImageRequireSource; } export declare function SvgWidget(_: SvgWidgetProps): null; export declare namespace SvgWidget { var __name__: string; var convertProps: (props: SvgWidgetProps) => SvgWidgetInternalProps; } export {}; //# sourceMappingURL=SvgWidget.d.ts.map