/** @packageDocumentation
 * @module Item
 */
import type { CommandHandler, OnItemExecutedFunc } from "@itwin/appui-abstract";
import { Orientation } from "@itwin/components-react";
import { ItemDefBase } from "./ItemDefBase";
import type { ItemProps } from "./ItemProps";
import type { SizeProps } from "../utils/SizeProps";
/** Abstract base class that is used by classes to execute an action when pressed.
 * @public
 * @deprecated in 4.15.0. Use type specific utilities for creating items instead, i.e. `ToolbarItemUtilities.createActionItem`.
 */
export declare abstract class ActionButtonItemDef extends ItemDefBase {
    private _onItemExecuted?;
    /** Command Handler for the action button */
    protected _commandHandler?: CommandHandler;
    /** Parameters passed to the Command Handler */
    parameters?: any;
    /** Size of the action button, as set by handleSizeKnown */
    size?: SizeProps;
    /** The default button size for all action buttons */
    static defaultButtonSize: number;
    constructor(itemProps: ItemProps, onItemExecuted?: OnItemExecutedFunc);
    /** Called when the action button is invoked by a click or touch */
    execute(): void;
    /** Called when the size of the action button is initialized and the size is known */
    handleSizeKnown: (size: SizeProps) => void;
    /** Determines the dimension in a given orientation */
    getDimension(orientation: Orientation): number;
}
//# sourceMappingURL=ActionButtonItemDef.d.ts.map