export default FeedItem;
export type ActivityItem = {
    id: number;
    type: string;
    context?: Record<string, any>;
    allowed_actions?: Array<'update' | 'destroy' | 'like'>;
    company_id?: number;
    /**
     * is not received from the back but have to be provided while saving activities
     */
    asset_id?: number;
    rig?: any;
    well?: any;
    updated_at?: string;
    segment?: any;
    liked?: boolean;
    likes?: any[];
    likes_count?: number;
    mentioned_users?: any[];
};
/**
 * @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
 */
declare function FeedItem({ feedItem, editableFeedItemTypes, removeFeedItem, enterEditMode, router, currentUser, appData, customFeedItemTypeTemplates, paperClassName, getFeedItemMessage, ...props }: {
    feedItem: ActivityItem;
    editableFeedItemTypes?: string[];
    removeFeedItem?: (feedItemId: number) => void;
    enterEditMode?: (feedItem: ActivityItem) => void;
    router?: any;
    currentUser: any;
    appData?: any;
    customFeedItemTypeTemplates?: Record<string, any>;
    paperClassName?: string;
    getFeedItemMessage?: any;
}): JSX.Element;
//# sourceMappingURL=FeedItem.d.ts.map