import { CmdHistory } from "~/types";
export declare class TerminalStore {
    storageKey: string;
    maxStoredCommandCountPerInstance: number;
    dataMap: Record<string, CmdHistory>;
    constructor(key: string, maxStoredCommandCountPerInstance: number);
    push(name: string, cmd: string): void;
    store(): void;
    getData(name: string): CmdHistory;
    getLog(name: string): string[];
    clear(name: string): void;
    clearAll(): void;
    getIdx(name: string): number;
    setIdx(name: string, idx: number): void;
}
export declare function initStore(): void;
export declare function getStore(): TerminalStore;
