import type { ApiHandler, ApiHandlerContext, Middleware, RouteGroupBuilder, RouteOptions } from '../../../types/public-types.js'; import { AbstractApplicationAdapter, type ApplicationAdapterOptions, type RouteGroupDefinition, type RouteHandler } from '../../abstract/application-adapter.js'; export declare abstract class SharedApplicationAdapter extends AbstractApplicationAdapter { protected register

= ApiHandlerContext>(path: P, method: ApiHandler['method'], handler: RouteHandler, options?: RouteOptions): this; get

= ApiHandlerContext>(path: P, handler: RouteHandler, options?: RouteOptions): this; post

= ApiHandlerContext>(path: P, handler: RouteHandler, options?: RouteOptions): this; put

= ApiHandlerContext>(path: P, handler: RouteHandler, options?: RouteOptions): this; delete

= ApiHandlerContext>(path: P, handler: RouteHandler, options?: RouteOptions): this; patch

= ApiHandlerContext>(path: P, handler: RouteHandler, options?: RouteOptions): this; options

= ApiHandlerContext>(path: P, handler: RouteHandler, options?: RouteOptions): this; head

= ApiHandlerContext>(path: P, handler: RouteHandler, options?: RouteOptions): this; route

(path: P, method: ApiHandler['method'], handler: RouteHandler, options?: RouteOptions): this; add(handler: ApiHandler): this; group[] = []>(prefixOrGroup: string | RouteGroupDefinition, callback?: (builder: TMiddleware extends readonly Middleware[] ? RouteGroupBuilder : RouteGroupBuilder) => void, options?: { middleware?: TMiddleware; }): this; private registerGroup; }