import type { ActivityItem, ActivityProvider, ActivityObjectType } from '../types'; export declare const makeGetRecentItemBody: (cloudId: string) => { query: string; variables: { first: number; filter: { type: string; arguments: { cloudIds: string[]; }; }[]; }; }; /** * @deprecated - Please use @atlassian/recent-work-client instead */ export default class ActivityResource implements ActivityProvider { private recentPromise?; private url; private cloudId; private options; constructor(url: string, cloudId: string, options?: RequestInit); getRecentItems(): Promise<{ objectId: string; name: string; container: string; url: string; iconUrl: string; type: ActivityObjectType; viewedTimestamp: string; }[]>; searchRecent(query: string): Promise; /** * It should return the closet container's name */ private getContainerName; private filterItems; }