/** @packageDocumentation
 * @module Popup
 */
import * as React from "react";
import { CommonToolbarItem, OnCancelFunc, OnItemExecutedFunc, RelativePosition } from "@itwin/appui-abstract";
import { Orientation, Size } from "@itwin/core-react";
import { PopupPropsBase } from "./PopupManager";
/** Props for a popup toolbar
 * @beta */
export interface ToolbarPopupProps extends PopupPropsBase {
    items: CommonToolbarItem[];
    relativePosition: RelativePosition;
    orientation: Orientation;
    onCancel: OnCancelFunc;
    onItemExecuted: OnItemExecutedFunc;
}
/** @internal */
interface ToolbarPopupState {
    size: Size;
}
/** Popup component for Toolbar
 * @beta
 */
export declare class ToolbarPopup extends React.PureComponent<ToolbarPopupProps, ToolbarPopupState> {
    /** @internal */
    readonly state: {
        size: Size;
    };
    private _onSizeKnown;
    private _handleKeyDown;
    private _cancel;
    render(): JSX.Element;
}
export {};
//# sourceMappingURL=ToolbarPopup.d.ts.map