import type { FileLike } from 'react-file-utils'; import type { MessageInputProps } from '../MessageInput'; import type { MessageInputReducerAction, MessageInputState } from './useMessageInputState'; import type { CustomTrigger, DefaultStreamChatGenerics } from '../../../types/types'; export declare const useAttachments: (props: MessageInputProps, state: MessageInputState, dispatch: import("react").Dispatch>, textareaRef: React.MutableRefObject) => { maxFilesLeft: number; numberOfUploads: number; removeFile: (id: string) => void; removeImage: (id: string) => void; uploadFile: (id: string) => void; uploadImage: (id: string) => Promise; uploadNewFiles: (files: FileList | File[] | FileLike[]) => void; }; //# sourceMappingURL=useAttachments.d.ts.map