/** * MacroLibraryDialog Component * * Dialog for viewing and managing saved macros. * * @since v1.62.0 */ import React from 'react'; import type { Tier } from '../../../core/types/auth.js'; import type { Macro, MacroLibrary } from '../../keyboard/macro-types.js'; export interface MacroLibraryDialogProps { /** Called when dialog should close */ onClose: () => void; /** Called when a macro should be played */ onPlay?: (macro: Macro) => void; /** Called when a macro should be deleted */ onDelete?: (macroId: string) => void; /** Called when a macro should be assigned to a register */ onAssignRegister?: (macroId: string, register: string) => void; /** Whether dialog is active for input */ isActive?: boolean; /** User's subscription tier */ tier: Tier; /** Maximum height for the dialog */ maxHeight?: number; /** Macro library */ library: MacroLibrary; /** Available registers */ registers?: string[]; } declare function MacroLibraryDialogBase({ onClose, onPlay, onDelete, onAssignRegister, isActive, tier, maxHeight, library, registers, }: MacroLibraryDialogProps): React.ReactElement; export declare const MacroLibraryDialog: React.MemoExoticComponent; export {}; //# sourceMappingURL=MacroLibraryDialog.d.ts.map