import React from 'react'; type Placement = 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-start' | 'bottom' | 'bottom-end' | 'left-start' | 'left' | 'left-end'; export interface TyPopupProps extends Omit, 'onClose'> { /** Preferred placement of the popup relative to anchor parent: a side plus an optional cross-axis alignment (e.g. "bottom-start") */ placement?: Placement; /** Distance offset from the anchor in pixels (default: 8) */ offset?: number; /** Disable automatic click trigger - requires manual open/close via ref methods */ manual?: boolean; /** Disable automatic close on outside click and ESC key */ disableClose?: boolean; /** Fired when the popup opens (after the open animation starts) */ onOpen?: (event: CustomEvent) => void; /** Fired when the popup closes */ onClose?: (event: CustomEvent) => void; /** Popup content - popup should be a child of the anchor element */ children?: React.ReactNode; } export interface TyPopupElement extends HTMLElement { openPopup(): void; closePopup(): void; togglePopup(): void; } export declare const TyPopup: React.ForwardRefExoticComponent>; export {}; //# sourceMappingURL=TyPopup.d.ts.map