@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
16 lines • 626 B
TypeScript
interface UseDirectoryTrustReturn {
isTrusted: boolean;
handleConfirmTrust: () => void;
isTrustLoading: boolean;
isTrustedError: string | null;
}
/**
* Custom hook for managing directory trust functionality.
* Handles checking if a directory is trusted and adding it to trusted directories.
*
* @param directory - The directory path to check trust for (defaults to current working directory)
* @returns Object containing trust state and handler functions
*/
export declare function useDirectoryTrust(directory?: string): UseDirectoryTrustReturn;
export {};
//# sourceMappingURL=useDirectoryTrust.d.ts.map