import React from 'react'; export declare type Omit = Pick>; export declare type ReplaceProps = Omit, P> & P; export interface BsPrefixAndClassNameOnlyProps { bsPrefix?: string; className?: string; } export interface BsCustomPrefixProps { bsCustomPrefix?: string; } export interface BsPrefixProps extends BsPrefixAndClassNameOnlyProps { as?: As; } export declare type BsPrefixPropsWithChildren = React.PropsWithChildren>; export interface BsPrefixRefForwardingComponent { (props: React.PropsWithChildren & P>>, context?: any): React.ReactElement | null; propTypes?: any; contextTypes?: any; defaultProps?: Partial

; displayName?: string; } export declare class BsPrefixComponent extends React.Component & P>> { } export declare type BsPrefixComponentClass = React.ComponentClass & P>>; export declare type SelectCallback = (eventKey: string | null, e: React.SyntheticEvent) => void; export interface TransitionCallbacks { onEnter?(node: HTMLElement): any; onEntered?(node: HTMLElement): any; onEntering?(node: HTMLElement): any; onExit?(node: HTMLElement): any; onExited?(node: HTMLElement): any; onExiting?(node: HTMLElement): any; } export declare type TransitionComponent = React.ComponentType<{ in?: boolean; appear?: boolean; children: React.ReactElement; } & TransitionCallbacks>; export declare type TransitionType = boolean | TransitionComponent;