import { API as CoreAPI } from '@foxy.io/sdk/core'; import { FetchEvent } from './FetchEvent'; /** * Universal [API](https://sdk.foxy.dev/classes/_core_index_.api.html) client * that dispatches the `fetch` event on an element before each request. It bubbles, crosses * shadow DOM boundaries, and if cancelled, the target element will not make the request * and instead will wait for a response from `event.respondWith()`. */ export declare class API extends CoreAPI { /** Instances of this event are dispatched on an element before each request. */ static readonly FetchEvent: typeof FetchEvent; /** @param target `EventTarget` to dispatch `fetch` events on (e.g. element or window). */ constructor(target: EventTarget); }