interface fetchChat { chatId: string; } declare const useFetchChat: () => { fetchChat: ({ chatId }: fetchChat) => Promise; error: string | undefined; loading: boolean; }; export default useFetchChat;