import * as React from 'react'; import { SideCarHOC } from './types'; declare type CombinedProps = { children: (...prop: T) => any; } & K; declare type RenderPropComponent = React.ComponentType>; export declare function renderCar>>(WrappedComponent: C, defaults: (props: K) => T): (props: CombinedProps) => JSX.Element; export {};