import type React from 'react'; import type { LocalMessage } from 'stream-chat'; import type { ReactEventHandler } from '../types'; /** * Opens the message's thread through `useWorkspaceNavigation().openThread`, which does nothing * without a workspace navigation provider. * * @param message - Message whose thread opens. Logs a warning and does nothing when undefined. * @param customOpenThread - Called instead of the default navigation. */ export declare const useOpenThreadHandler: (message?: LocalMessage, customOpenThread?: (message: LocalMessage, event: React.BaseSyntheticEvent) => void) => ReactEventHandler; //# sourceMappingURL=useOpenThreadHandler.d.ts.map