import type { IEventDetail } from '@breadstone/mosaik-elements';
/**
 * Represents the event detail for font change events.
 *
 * @public
 */
export interface IFontChangedEventDetail extends IEventDetail {
    /**
     * The font family.
     */
    readonly family?: string;
    /**
     * The font size.
     */
    readonly size?: number;
    /**
     * The font weight.
     */
    readonly weight?: string;
    /**
     * The font style.
     */
    readonly style?: string;
    /**
     * The font object.
     */
    readonly font?: unknown;
}
/**
 * Event fired when font changes.
 *
 * @public
 */
export type FontChangedEvent = CustomEvent<IFontChangedEventDetail>;
/**
 * Represents the event detail for font select events.
 *
 * @public
 */
export interface IFontSelectedEventDetail extends IEventDetail {
    /**
     * The selected font family.
     */
    readonly family?: string;
    /**
     * The font object.
     */
    readonly font?: unknown;
}
/**
 * Event fired when a font is selected.
 *
 * @public
 */
export type FontSelectedEvent = CustomEvent<IFontSelectedEventDetail>;
declare global {
    interface HTMLElementEventMap {
        fontChanged: FontChangedEvent;
        fontSelected: FontSelectedEvent;
    }
}
//# sourceMappingURL=FontEvents.d.ts.map