import type { Polka } from "polka"; import type { Request } from "./Http/Request"; export declare type Concrete = NewableFunction | (() => any); export declare type CallBack = (...params: any[]) => any; export interface ObjectOf { [key: string]: T; } export declare type Class = new (...args: Args) => I; export declare type Server = Polka; export declare type OnServer = (req: Request, ctx: any) => Promise>;