import { RenderResult } from '@dojo/framework/core/interfaces'; import { PopupPosition, BasePopupProperties } from '../popup'; export interface TriggerPopupProperties extends BasePopupProperties { /** If the popup wrapper should match the trigger width (defaults to true) */ matchWidth?: boolean; /** Callback when the menu is opened */ onOpen?(): void; /** Position of popup that is triggered */ position?: PopupPosition; } export interface TriggerPopupChildren { trigger: (toggleOpen: () => void) => RenderResult; content: (close: () => void, position: PopupPosition) => RenderResult; } export declare const TriggerPopup: import("@dojo/framework/core/interfaces").WNodeFactory<{ properties: TriggerPopupProperties & import("@dojo/framework/core/interfaces").WidgetProperties & { variant?: "default" | "inherit" | undefined; } & import("@dojo/framework/core/middleware/theme").ThemeProperties; children: TriggerPopupChildren; }>; export default TriggerPopup;