import { a as App } from "./types-BvjPE9EM.mjs"; import { AppClient, CreateAppClientOptions, GetClientRoutes } from "./client.mjs"; //#region src/testing.d.ts /** * Create a client for testing your server-side application. When `fetch` is * called, the app's `fetch` function is called instead of using the global * `fetch`. * * @example * ```ts * const app = createApp() * .get("/example", () => "Hello, world!") * * const client = createTestAppClient(app); * * expect(await client.get("/example")).toEqual("Hello, world!"); * ``` * * @param app * @param options * @returns An app client used to test your server-side application. */ declare function createTestAppClient(app: TApp, options?: Omit): AppClient>; //#endregion export { createTestAppClient };