import { OpenAssistantProps } from './sidebar'; export type AssistantHook = { /** Whether the availability check is still in progress. */ isLoading: boolean; isAvailable: boolean; openAssistant: ((props: OpenAssistantProps) => void) | undefined; closeAssistant: (() => void) | undefined; toggleAssistant: ((props: OpenAssistantProps) => void) | undefined; }; /** * Hook to check if the assistant is available and return the open, close, and toggle functions. * @returns {AssistantHook} */ export declare function useAssistant(): AssistantHook; //# sourceMappingURL=hook.d.ts.map