import type { CommandHand } from '../../editor/index.js'; export interface IconButtonSpec { readonly name: string; readonly svg?: string; readonly text?: string; readonly label: string; readonly className?: string; readonly strokeWidth?: number; readonly swatch?: string; readonly press: (by: CommandHand) => void; } export declare function iconButton(owner: Document, spec: IconButtonSpec): HTMLButtonElement; export declare function wireIconButton(button: HTMLElement, press: (by: CommandHand) => void): () => void; export declare function suppressMousedownTap(element: HTMLElement): () => void; export declare function setPressed(button: HTMLElement, on: boolean): void; //# sourceMappingURL=button.d.ts.map