import { type DynamicModule } from "@nestjs/common"; import { type KatanaKitModuleOptions } from "./options.js"; /** * Wires KatanaKit into a Nest application. * * `forRoot()` registers the APIs (and optionally the shared query client) at * bootstrap and exposes an injectable {@link KatanaKitService}. The module is * global by default so feature modules do not need to import it again; pass * `global: false` to scope it explicitly. * * @example * ```ts * import { Module } from "@nestjs/common"; * import { KatanaKitModule } from "katanakit-js/adapters/nestjs"; * * @Module({ * imports: [ * KatanaKitModule.forRoot({ * apis: { * pokeapi: { * baseUri: "https://pokeapi.co/api/v2", * endpoints: { pokemonById: "/pokemon/:id/" }, * }, * }, * }), * ], * }) * export class AppModule {} * ``` */ export declare class KatanaKitModule { /** Creates the dynamic module with the toolkit providers. */ static forRoot(options?: KatanaKitModuleOptions): DynamicModule; } //# sourceMappingURL=kit.module.d.ts.map