import type { ClassMethodDecorator5, Nilable, TestRefValue } from "../types/internal.js"; /** * Creates a decorator, that sets up a test for a request method. * * @example * ``` * import { Controller, ControllerBase, Describe, GET, IHttp1Request, IHttp1Response, It } from '@egomobile/http-server' * * @Controller() * @Describe('My controller') * export default class MyController extends ControllerBase { * @GET() * @It('should run without error') * async index(request: IHttp1Request, response: IHttp1Response) { * // your code * } * } * ``` * * @param {string} description The description of the test. * * @returns {ClassMethodDecorator5} The new decorator. */ export declare function It(description: string): ClassMethodDecorator5; export declare function It(description: string, ref: Nilable): ClassMethodDecorator5;