import { ConsoleInterface, FetchInterface, UrlInterface, WebSocketConstructor } from "./globals.js"; //#region src/types/client.d.ts /** * empty directus client */ interface DirectusClient { url: URL; globals: ClientGlobals; with: (createExtension: (client: DirectusClient) => Extension) => this & Extension; } /** * All used globals for the client */ type ClientGlobals = { fetch: FetchInterface; WebSocket: WebSocketConstructor; URL: UrlInterface; logger: ConsoleInterface; }; /** * Available options on the client */ type ClientOptions = { globals?: Partial; }; //#endregion export { ClientGlobals, ClientOptions, DirectusClient }; //# sourceMappingURL=client.d.ts.map