import { MachinatNode } from '@machinat/core'; import type { OutputSegment } from '@machinat/core/renderer'; import type { MessengerSegmentValue, MessengerComponent } from '../types'; /** * @category Props */ export declare type ExpressionProps = { /** Content nodes to be annotated. */ children: MachinatNode; /** * The messaging type of the message being sent. For more information, see * [Sending Messages - Messaging Types](https://developers.facebook.com/docs/messenger-platform/send-messages/#messaging_types). * Default to 'RESPONSE'. */ messagingType?: 'RESPONSE' | 'UPDATE' | 'MESSAGE_TAG'; /** * The message tag to use when messagingType set to 'MESSAGE_TAG'. For more * information, see [Message Tags](https://developers.facebook.com/docs/messenger-platform/send-messages/message-tags). */ tag?: 'CONFIRMED_EVENT_UPDATE' | 'POST_PURCHASE_UPDATE' | 'ACCOUNT_UPDATE' | 'HUMAN_AGENT'; /** * Push notification type. * REGULAR: sound/vibration * SILENT_PUSH: on-screen notification only * NO_PUSH: no notification * Defaults to 'REGULAR'. */ notificationType?: 'REGULAR' | 'SILENT_PUSH' | 'NO_PUSH'; /** * Custom string that is delivered as a message echo. 1000 character limit. */ metadata?: string; /** {@link QuickReply} elements to be sent with messages. */ quickReplies?: MachinatNode; /** The persona id to use. */ personaId?: string; }; /** * Annotate all the children content with the message settings attributes and * append quick replies after the content. * @category Component * @props {@link ExpressionProps} * @guides Check official [doc](https://developers.facebook.com/docs/messenger-platform/send-messages) * and [reference](https://developers.facebook.com/docs/messenger-platform/reference/send-api). */ export declare const Expression: MessengerComponent>;