import { Menu } from "@fluentui/web-components";
import { FoundationElement } from "@microsoft/fast-foundation";
/**
 * An interface to define card action menu items
 *
 * @export
 * @interface MenuItemProps
 */
export interface MenuItemProps {
    /**
     * Glyph to display next to the menu item title
     */
    glyph?: any;
    /**
     * Menu item Id
     */
    id?: string;
    /**
     * Whether this is a divider item
     */
    isDivider?: boolean;
    /**
     * Click callback
     */
    onClick?: (event?: any) => void;
    /**
     * Title
     */
    title?: string;
    /**
     * aria label for more setting
     */
    ariaLabel?: string;
    /**
     * Whether the item menu should be disabled so it's not clickable
     */
    disabled?: boolean;
    /**
     * Indicates if the item is purely text
     */
    isText?: boolean;
}
/** ActionsMenu Class definition */
export declare class ActionsMenu extends FoundationElement {
    /**
     * Menu items
     */
    menuItems: MenuItemProps[];
    /**
     * Referrer button; the button which triggers the menu open and use to determine the position.
     */
    referrerButton?: HTMLElement;
    /** Rects used to calculate position */
    parentRect?: DOMRect;
    referrerButtonRect?: DOMRect;
    /** Boolean indicating if fast-anchored-region component should be used to determine position */
    useFastAnchoredRegion: boolean;
    /**
     * Position fixed or not
     */
    fixedPosition: boolean;
    /** Default vertical placement */
    defaultVerticalPosition: string;
    /** Default Horizontal placement */
    defaultHorizontalPosition: string;
    /** Ref for menu element */
    menu?: HTMLElement;
    /** Menu reference */
    fluentMenu?: Menu;
    /** Flag indicating if position update is in progress, used to avoid queuing multiple update tasks */
    private isUpdatingPosition;
    /**
     * Event handler for key down
     */
    keyDownHandler: (e: any) => boolean;
    connectedCallback(): void;
    disconnectedCallback(): void;
    private initMenuPositioning;
    /**
     * Sets the position styles for the menu
     */
    private setMenuPosition;
    /** Gets horizontal positioning styles based on document direction */
    private getHorizontalPosition;
    /** Recalculates and updates menu position based on referrer button position */
    private updatePosition;
}
