import * as React from 'react'; import { TransitionComponent } from '@restart/ui/types'; export type Omit = Pick>; export type ReplaceProps = Omit, P> & P; export interface BsPrefixOnlyProps { bsPrefix?: string; } export interface AsProp { as?: As; } export interface BsPrefixProps extends BsPrefixOnlyProps, AsProp { } 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 type BsPrefixComponentClass = React.ComponentClass & P>>; export type TransitionType = boolean | TransitionComponent; export declare function getOverlayDirection(placement: string, isRTL?: boolean): string;