import React, { FC, PropsWithChildren, ComponentType } from 'react';
import { Position, PositionProps, Target } from '~/types';
import { StitchedCSS } from '~/theme';
export declare type OverlayProps
= {
Component: ComponentType
;
props: P;
target: Target;
positionProps: PositionProps;
css?: StitchedCSS;
};
export declare const GenericOverlay: FC;
export declare const InnerShared: React.ForwardRefExoticComponent<{
width?: number | string;
css?: StitchedCSS;
style?: any;
} & {
children?: React.ReactNode;
} & React.RefAttributes>;
export declare type SharedOverlayProps = PropsWithChildren<{
css?: StitchedCSS;
position: Position;
}>;
declare const _default: React.ForwardRefExoticComponent<{
css?: StitchedCSS;
position: Position;
} & {
children?: React.ReactNode;
} & React.RefAttributes>;
export default _default;
//# sourceMappingURL=index.d.ts.map