import { BasedRoute, Context } from '@based/functions'; import { AttachedCtx } from './types.js'; import { BasedServer } from '../server.js'; export declare const optimizeConfig: (route: BasedRoute<"query">) => void; export declare const attachCtxInternal: (route: BasedRoute<"query">, ctx: { [key: string]: any; }, id: number) => AttachedCtx; export declare const attachCtx: (server: BasedServer, route: BasedRoute<"query">, ctx: Context, id: number) => AttachedCtx;