import * as ts from 'typescript'; export declare type Factory = ts.TransformerFactory; /** * Transform react stateless components * * @example * Before: * const Hello = ({ message }) => { * return
hello {message}
* } * // Or: * // const Hello = ({ message }) =>
hello {message}
* * Hello.propTypes = { * message: React.PropTypes.string, * } * * After: * Type HelloProps = { * message: string; * } * * const Hello: React.SFC = ({ message }) => { * return
hello {message}
* } * * Hello.propTypes = { * message: React.PropTypes.string, * } */ export declare function reactStatelessFunctionMakePropsTransformFactoryFactory(typeChecker: ts.TypeChecker): Factory;