import type { AttachmentManagerState, CustomDataManagerState, LinkPreview, LocationComposerState, MessageComposerState } from 'stream-chat'; /** * The composer state that decides which previews show. Each item of a * `messageComposerPreviewSet` reads it in `isVisible`. */ export type MessageComposerPreviewVisibilityFilterParams = { attachments: AttachmentManagerState['attachments']; /** The composer's custom data (`messageComposer.customDataManager`). */ customData: CustomDataManagerState['custom']; editedMessage: MessageComposerState['editedMessage']; /** Link previews that are loading or loaded. */ linkPreviews: LinkPreview[]; location: LocationComposerState['location']; /** * A poll created with `messageComposer.createPoll()` and not sent yet. No default preview shows * it; an app that attaches polls to the message adds an item for it. */ pollId: MessageComposerState['pollId']; quotedMessage: MessageComposerState['quotedMessage']; }; /** * Subscribes to the composer state that decides which previews show, for the composer * `useMessageComposerController()` resolves. */ export declare const useMessageComposerPreviewState: () => MessageComposerPreviewVisibilityFilterParams; //# sourceMappingURL=useMessageComposerPreviewState.d.ts.map