import type { StreamChat, UpdatedMessage } from 'open-chat-js'; import type { DefaultStreamChatGenerics, UpdateMessageOptions } from '../../../types/types'; type UpdateHandler = (cid: string, updatedMessage: UpdatedMessage, options?: UpdateMessageOptions) => ReturnType['updateMessage']>; export declare const useEditMessageHandler: (doUpdateMessageRequest?: UpdateHandler | undefined) => (updatedMessage: UpdatedMessage, options?: UpdateMessageOptions) => Promise>; export {}; //# sourceMappingURL=useEditMessageHandler.d.ts.map