import type { HttpRequest } from "../http/index.js"; import { type HttpLayer } from "../layer/index.js"; import type { HttpService } from "../service/index.js"; export declare class StripPrefix implements HttpService { private readonly inner; private readonly prefix; constructor(inner: HttpService, prefix: string); static layer(prefix: string): HttpLayer; invoke(req: HttpRequest): Promise; }