## API Report File for "@atlaskit/activity-provider".

> Do not edit this file. This report is auto-generated by
> [API Extractor](https://api-extractor.com/).

[Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)

```ts
export declare class ActivityError extends Error {
	status?: number;
	constructor(message: string, status?: number);
}

export declare interface ActivityItem {
	objectId: string;
	name: string;
	container: string;
	url: string;
	iconUrl: string;
	type?: string;
	viewedTimestamp?: string;
}

declare type ActivityObjectType = 'ISSUE' | 'PAGE' | 'BLOGPOST';

export declare interface ActivityProvider {
	getRecentItems(): Promise<Array<ActivityItem>>;
	searchRecent(query: string): Promise<Array<ActivityItem>>;
}

/**
 * @deprecated - Please use @atlassian/recent-work-client instead
 */
export declare 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<ActivityItem[]>;
	/**
	 * It should return the closet container's name
	 */
	private getContainerName;
	private filterItems;
}

export {};
```
