import type { AstJson, AstRoot } from "@sdkgen/parser"; import type { Context, ContextReply } from "./context"; import type { DeepReadonly } from "./utils"; type Middleware = (ctx: Context & ExtraContextT, next: () => Promise) => Promise; export declare class BaseApiConfig { private _ast; get ast(): AstRoot; astJson: DeepReadonly; fn: Record Promise) | undefined>; readonly middlewares: Array>; use(middleware: Middleware): void; } export {};