/** * @file * * Mock of Obsidian's `ButtonComponent`, a button control for settings and modals. */ import type { ButtonComponent as ButtonComponentOriginal, TooltipOptions as TooltipOptionsOriginal } from 'obsidian'; import { BaseComponent } from './BaseComponent.cjs'; /** * Mock of Obsidian's `ButtonComponent`. * * The button element is really created in the container, and styling calls toggle the same CSS classes Obsidian * uses. As in Obsidian, a click on {@link ButtonComponent.buttonEl} runs the handler unless the button is disabled, * with the `mod-loading` class on for as long as the handler is pending; {@link ButtonComponent.simulateClick__} does * the same without an event. */ export declare class ButtonComponent extends BaseComponent { /** * The `