import type { Message } from 'open-chat-js'; import type { MessageInputReducerAction, MessageInputState } from './useMessageInputState'; import type { MessageInputProps } from '../MessageInput'; import type { CustomTrigger, DefaultStreamChatGenerics } from '../../../types/types'; import type { EnrichURLsController } from './useLinkPreviews'; export declare const useSubmitHandler: (props: MessageInputProps, state: MessageInputState, dispatch: import("react").Dispatch>, numberOfUploads: number, enrichURLsController: EnrichURLsController) => { handleSubmit: (event: React.BaseSyntheticEvent, customMessageData?: Partial> | undefined) => Promise; }; //# sourceMappingURL=useSubmitHandler.d.ts.map