UNPKG

sandeep-react-chatbotify

Version:

A modern React library for creating flexible and extensible chatbots.

11 lines 364 B
/** * External custom hook for managing paths in the chatbot conversation flow. */ export declare const usePaths: () => { getCurrPath: () => string | null; getPrevPath: () => string | null; goToPath: (pathToGo: string) => Promise<boolean>; paths: string[]; replacePaths: (newPaths: string[]) => void; }; //# sourceMappingURL=usePaths.d.ts.map