import type { Feed } from '../../../feed';
import type { ActivityPinResponse, ActivityResponse } from '../../../gen/models';
import type { EventPayload, UpdateStateResult } from '../../../types-internal';
export declare const removeActivityFromState: (activityResponse: ActivityResponse, activities: ActivityResponse[] | undefined) => UpdateStateResult<{
    activities: ActivityResponse[] | undefined;
}>;
export declare const removePinnedActivityFromState: (activityResponse: ActivityResponse, pinnedActivities: ActivityPinResponse[] | undefined) => UpdateStateResult<{
    pinned_activities: ActivityPinResponse[] | undefined;
}>;
export declare function handleActivityDeleted(this: Feed, event: EventPayload<'feeds.activity.deleted'>): void;
