import * as React from 'react'; type PropGetter = () => any; type PropSetter = (val: any) => KapsuleInstance; type CompMethod = (...args: any[]) => any; interface KapsuleInstance { (element: HTMLElement): KapsuleInstance; [propOrMethod: string]: PropGetter | PropSetter | CompMethod | any; } type Kapsule = (initOptions?: object) => KapsuleInstance; interface FromKapsuleOptions { wrapperElementType?: string | React.Component; nodeMapper?: (node: HTMLElement) => any; methodNames?: string[]; initPropNames?: string[]; } declare function fromKapsule( kapsule: Kapsule, options?: FromKapsuleOptions ): React.FunctionComponent }>; export { fromKapsule as default };