/** * @license * Copyright 2023 Nuraly, Laabidi Aymen * SPDX-License-Identifier: MIT */ import { KeyboardController } from '../interfaces/index.js'; import { BaseButtonController } from './base.controller.js'; /** * Keyboard controller manages keyboard interaction capabilities for button components * Handles Enter and Space key activation following ARIA best practices */ export declare class ButtonKeyboardController extends BaseButtonController implements KeyboardController { /** * Handle keyboard activation (Enter/Space keys) * @param event - The keyboard event */ handleKeyboardActivation(event: KeyboardEvent): void; /** * Handle keydown events with proper disabled state checking * @param event - The keyboard event */ handleKeydown(event: KeyboardEvent): void; /** * Check if the key is an activation key (Enter or Space) */ private isActivationKey; /** * Check if the key is allowed when component is disabled */ private isReadonlyKeyAllowed; } //# sourceMappingURL=keyboard.controller.d.ts.map