/// /// import type App from '.'; import { lowercaseMethods } from './utils/methods'; export interface RequestFunction { (path: string, init?: Omit & { body?: any; }): Promise; } export interface Client extends Record { fetch: RequestFunction; } /** * A test client for the current server */ export declare const client: (app: App, basePath?: string) => Client;