import { CommandStorage, StoredCommand } from '../types/storage'; export interface HistoryService { getCommands(): Promise; addCommand(command: StoredCommand): Promise; clear(): Promise; } export declare class DefaultHistoryService implements HistoryService { private readonly storage; constructor(storage: CommandStorage); getCommands(): Promise; addCommand(command: StoredCommand): Promise; clear(): Promise; } export declare function getHistoryService(storage?: CommandStorage): HistoryService; export declare function initializeHistoryService(storage: CommandStorage): void;