import React from 'react'; import type { MakeBindableComponentOptions } from './types/make-bindable-component-options'; import type { UpgradeToBindingsProps } from './types/upgrade-to-binding-props'; /** * Take a functional component and creates a new functional component that takes binding props. The non-bound types are also still * accepted. * * The component will be re-rendered any time binding props change. * * The bindings are resolved before calling the original component. * * Bindings can also be passed through by specifying key names in the `passThru` option. */ export declare function makeBindableComponent, PassThruKeyT extends keyof PropsT & string = never>(functionalComponent: (props: PropsT) => React.JSX.Element): (props: UpgradeToBindingsProps) => React.JSX.Element; export declare function makeBindableComponent, PassThruKeyT extends keyof PropsT & string = never>(options: MakeBindableComponentOptions, functionalComponent: (props: PropsT) => React.JSX.Element): (props: UpgradeToBindingsProps) => React.JSX.Element; //# sourceMappingURL=make-bindable-component.d.ts.map