/*---------------------------------------------------------------------------------------------
 * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
 * See LICENSE.md in the project root for license terms and full copyright notice.
 *--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Tools
 */
import { clearKeyinPaletteHistory } from "../popup/KeyinPalettePanel";
import { Tool } from "@itwin/core-frontend";
import svgRemove from "@bentley/icons-generic/icons/remove.svg";
/**
 * Immediate tool that will clear the recent history of command/tool keyins shown in
 * the command palette.
 * @alpha
 */
export class ClearKeyinPaletteHistoryTool extends Tool {
    static get minArgs() {
        return 0;
    }
    static get maxArgs() {
        return 0;
    }
    async run() {
        clearKeyinPaletteHistory();
        return true;
    }
}
ClearKeyinPaletteHistoryTool.toolId = "ClearKeyinPaletteHistory";
ClearKeyinPaletteHistoryTool.iconSpec = svgRemove;
//# sourceMappingURL=KeyinPaletteTools.js.map