import { type MockURL } from 'xhr-mock/lib/MockURL'; import { type MockHeaders } from 'xhr-mock/lib/types'; import { type ClientBasedAuth } from '@atlaskit/media-core'; export { exactMatch, exactMatchBody, exactMatchHeaders, exactMatchUrl, matchMethod, } from './matchers'; export { dataURItoBlob, fillInResponse } from './utils'; export { copyWithToken, getFile, getFileImage, userCollectionFetch } from './handlers'; export interface RequestData { method?: string; url?: MockURL; headers?: MockHeaders; body?: any; } export interface ResponseData { status?: number; reason?: string; headers?: MockHeaders; body?: any; } export interface MockContextItem { auth: ClientBasedAuth; collection: Array; collectionName: string; } export declare class MockContext { userContext: MockContextItem; tenantContext: MockContextItem; } export interface InternalFile { id: string; name: string; size: number; occurrenceKey: string; dataUri: string; } export interface MediaCollectionFile { id: string; occurrenceKey: string; type: string; details: { size: number; name: string; }; author: { id: string; userName: string; displayName: string; active: boolean; }; insertedAt: number; }