buroventures-harald-code
Version:
Harald Code - AI-powered coding assistant CLI
14 lines (13 loc) • 415 B
TypeScript
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
export interface UseShellHistoryReturn {
history: string[];
addCommandToHistory: (command: string) => void;
getPreviousCommand: () => string | null;
getNextCommand: () => string | null;
resetHistoryPosition: () => void;
}
export declare function useShellHistory(projectRoot: string): UseShellHistoryReturn;