import { Context } from './types/route'; export declare const withConnect: (connect: any) => (fn: any) => (ctx: Context) => Promise;