import OmniElement from '../core/OmniElement.js'; /** * An internal keyboard button control used in the keyboard component. * * @import * ```js * import '@capitec/omni-components/keyboard'; * ``` * * @example * ```html * * " * ``` * * @slot - Content to render inside button * * @fires {CustomEvent<{ value: string; }>} keyboard-click - Dispatched when the keyboard button is clicked. * * @ignore */ export declare class KeyboardButton extends OmniElement { /** * Text label. * @attr */ label: string; /** * The character for the button. * @attr */ character: string; /** * The mode for the button: * - `alpha` Alphabetical mode. * - `return` Return (Enter) mode. * - `numeric` Numerical mode. * - `action` Arbitrary actions mode. * - `space` Spacebar mode. * @attr */ mode: KeyboardButtonMode; /** * The case of the button: * - `upper` Uppercase input only. * - `lower` Lowercase input only. * @attr */ case: 'lower' | 'upper' | 'custom'; /** * Indicator if the button is disabled. * @attr * */ disabled?: boolean; /** * Handles component key down events. */ _click(event: MouseEvent): void; /** * Generates the component stylesheet. * * @ignore */ static get styles(): import("lit").CSSResultGroup[]; render(): import("lit-html").TemplateResult<1>; } export type KeyboardButtonMode = 'alpha' | 'return' | 'numeric' | 'action' | 'space' | 'none'; declare global { interface HTMLElementTagNameMap { 'omni-keyboard-button': KeyboardButton; } } //# sourceMappingURL=KeyboardButton.d.ts.map