import React from 'react';
type Position = 'top-start' | 'top-end' | 'top-center' | 'bottom-start' | 'bottom-end' | 'bottom-center';
type Props = {
    position?: Position;
    attachment?: React.ReactElement<React.HTMLAttributes<HTMLElement>>;
    offsetX?: number;
    offsetY?: number;
};
declare global {
    namespace React.JSX {
        interface IntrinsicElements {
            'descope-attachment': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
                position?: Position;
                offsetX?: number;
                offsetY?: number;
            };
        }
    }
}
declare const Attachment: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>>;
export default Attachment;
