/** @packageDocumentation
 * @module AccuDraw
 */
import "./MenuButton.scss";
import * as React from "react";
import type { XAndY } from "@itwin/core-geometry";
import type { SizeProps } from "../utils/SizeProps";
import type { Button } from "@itwin/itwinui-react";
type ButtonProps = React.ComponentPropsWithoutRef<typeof Button>;
/** @public */
export interface MenuButtonProps extends Omit<ButtonProps, "size" | "styleType"> {
    /** Center point */
    point: XAndY;
    /** Function called when size is known. */
    onSizeKnown?: (size: SizeProps) => void;
}
interface MenuButtonState {
    expanded: boolean;
}
/** @public */
export declare class MenuButton extends React.PureComponent<MenuButtonProps, MenuButtonState> {
    private _menu;
    constructor(props: MenuButtonProps);
    render(): React.JSX.Element;
    private setDivRef;
    private _open;
    private _handleClick;
    private _handleClose;
}
export {};
//# sourceMappingURL=MenuButton.d.ts.map