import { Context, Route } from '@/types'; export declare const createRouter: (ctx: Context, routes: Record) => (...args: any[]) => Promise;