import Fetcher, { type Context, type Options } from './Fetcher.js'; import InterceptRule, { passThrough } from './InterceptRule.js'; export { Fetcher, Context, Options, InterceptRule, passThrough, }; export declare type OnfetchCall = ((input: RequestInfo | RegExp, init?: RequestInit) => InterceptRule); export declare type Onfetch = OnfetchCall & { readonly adopt: (context: Context) => void; readonly remove: (rule: InterceptRule) => boolean; readonly cleanAll: () => void; readonly hasActive: () => boolean; readonly isActive: () => boolean; readonly activate: () => void; readonly restore: () => void; readonly config: (config: Partial) => void; }; declare const mockFetchOn: (context: Context) => Onfetch; export default mockFetchOn; //# sourceMappingURL=core.d.ts.map