import { CommandStorage, StorageConfig, StoredCommand } from '../types/storage'; /** * Base class for command history storage implementations */ export declare abstract class BaseStorage implements CommandStorage { protected config: Required; constructor(config?: StorageConfig); /** * Add a command to history, enforcing storage limits */ addStoredCommand(command: StoredCommand): Promise; /** * Get all stored commands, ordered by timestamp ascending */ abstract getStoredCommands(): Promise; /** * Clear all stored commands */ abstract clear(): Promise; /** * Save commands to storage * @protected */ protected abstract saveCommands(commands: StoredCommand[]): Promise; }