import React from 'react'; import type { ComponentPropsWithoutRef, ElementType } from 'react'; import type { OmitByType } from './typeHelpers'; /** * Bind props to a component. * * const PasswordInput = bindProps(Input, { type: 'password' }); * */ export declare function bindProps>>(Component: C, boundProps: P): React.ForwardRefExoticComponent>, Exclude>> & Partial>> & React.RefAttributes>>;