///
import svgr from '@svgr/core';
import { TransformOptions, BabelFileResult } from '@babel/core';
/**
* SVGR plugin to run SVGO with custom configuration.
*/
export declare const SvgoPlugin: svgr.Plugin;
/**
* Use SVGR to convert SVG source to JSX using a custom SVGO and template
* configuration.
*/
export declare const svgToJSX: (svg: string, native?: boolean) => string;
/**
* Babel transformer that runs SVGO for all content from a file name ending
* with `.svg` then uses SVGR to convert the result to a React Component.
*
* This is meant to be equivalent to `react-native-svg-transformer` but with
* different SVGO and template configuration.
*
* @see https://github.com/kristerkari/react-native-svg-transformer/blob/master/index.js
* @see https://github.com/jamiebuilds/babel-handbook/blob/master/translations/en/plugin-handbook.md
* @see https://github.com/facebook/metro/blob/master/packages/metro/src/JSTransformer/worker.js
*/
export declare function transform(src: string | {
src: string;
filename: string;
options?: TransformOptions;
}, filename: string, options?: TransformOptions): Promise;