export default FeedItem;
export type ActivityItem = {
    id: number;
    type: string;
    context?: Record<string, any> | undefined;
    allowed_actions?: ("update" | "destroy" | "like")[] | undefined;
    company_id?: number | undefined;
    /**
     * is not received from the back but have to be provided while saving activities
     */
    asset_id?: number | undefined;
    rig?: any;
    well?: any;
    updated_at?: string | undefined;
    segment?: any;
    liked?: boolean | undefined;
    likes?: any[] | undefined;
    likes_count?: number | undefined;
    mentioned_users?: any[] | undefined;
};
/**
 * @typedef {object} ActivityItem
 * @property {number} id
 * @property {string} type
 * @property {Record<string, any>} [context]
 * @property {Array<'update' | 'destroy' | 'like'>} [allowed_actions]
 * @property {number} [company_id]
 * @property {number} [asset_id] is not received from the back but have to be provided while saving activities
 * @property {any} [rig]
 * @property {any} [well]
 * @property {string} [updated_at]
 * @property {any} [segment]
 * @property {boolean} [liked]
 * @property {any[]} [likes]
 * @property {number} [likes_count]
 * @property {any[]} [mentioned_users]
 */
/**
 * @param {object} props
 * @param {ActivityItem} props.feedItem
 * @param {string[]} [props.editableFeedItemTypes]
 * @param {(feedItemId: number) => void} [props.removeFeedItem] called after a feed item was removed by a user
 * @param {(feedItem: ActivityItem) => void} [props.enterEditMode] called when a used clicks "Edit" menu item
 * @param {any} [props.router]
 * @param {any} props.currentUser used to display Avatar and to determine the ability to edit comments
 * @param {any} [props.appData] passed to body Template
 * @param {Record<string, any>} [props.customFeedItemTypeTemplates]
 * @param {string} [props.paperClassName]
 * @param {any} [props.getFeedItemMessage] used only to create a data-testid attribute
 * @param {(feedItem: ActivityItem) => void} [props.onFeedItemClick]
 * used to override built-in navigation for clickable alert feed items
 * @param {ReactNode} [props.extraActions] additional action nodes rendered inside the reactions/actions row, after the built-in like and comment buttons
 */
declare function FeedItem({ feedItem, editableFeedItemTypes, removeFeedItem, enterEditMode, router, currentUser, appData, customFeedItemTypeTemplates, paperClassName, getFeedItemMessage, onFeedItemClick, extraActions, ...props }: {
    feedItem: ActivityItem;
    editableFeedItemTypes?: string[] | undefined;
    removeFeedItem?: ((feedItemId: number) => void) | undefined;
    enterEditMode?: ((feedItem: ActivityItem) => void) | undefined;
    router?: any;
    currentUser: any;
    appData?: any;
    customFeedItemTypeTemplates?: Record<string, any> | undefined;
    paperClassName?: string | undefined;
    getFeedItemMessage?: any;
    onFeedItemClick?: ((feedItem: ActivityItem) => void) | undefined;
    extraActions?: any;
}): JSX.Element;
//# sourceMappingURL=FeedItem.d.ts.map