@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
19 lines • 813 B
TypeScript
import React from 'react';
import { Completion } from '../types/index.js';
type UIState = {
showClearMessage: boolean;
showCompletions: boolean;
completions: Completion[];
pendingFileMentions: string[];
setShowClearMessage: React.Dispatch<React.SetStateAction<boolean>>;
setShowCompletions: React.Dispatch<React.SetStateAction<boolean>>;
setCompletions: React.Dispatch<React.SetStateAction<Completion[]>>;
setPendingFileMentions: React.Dispatch<React.SetStateAction<string[]>>;
resetUIState: () => void;
};
export declare function UIStateProvider({ children }: {
children: React.ReactNode;
}): React.FunctionComponentElement<React.ProviderProps<UIState | undefined>>;
export declare function useUIStateContext(): UIState;
export {};
//# sourceMappingURL=useUIState.d.ts.map