@nanocollective/nanocoder
Version:
A local-first CLI coding agent that brings the power of agentic coding tools like Claude Code and Gemini CLI to local models or controlled APIs like OpenRouter
21 lines • 810 B
TypeScript
import { InputState } from '../types/hooks.js';
export declare function useInputState(): {
currentState: InputState;
undoStack: InputState[];
redoStack: InputState[];
undo: () => void;
redo: () => void;
deletePlaceholder: (placeholderId: string) => void;
setInputState: (newState: InputState) => void;
input: string;
originalInput: string;
historyIndex: number;
setInput: (newInput: string) => void;
setOriginalInput: import("react").Dispatch<import("react").SetStateAction<string>>;
setHistoryIndex: import("react").Dispatch<import("react").SetStateAction<number>>;
updateInput: (newInput: string) => void;
resetInput: () => void;
cachedLineCount: number;
pastedContent: Record<string, string>;
};
//# sourceMappingURL=useInputState.d.ts.map