import * as Koa from 'koa'; declare const defaultNext: () => Promise; export declare const setCookie: (s: string, value: any, config?: {}) => (ctx: Koa.Context, next?: () => Promise) => Promise; export declare const clearCookie: (s: string, config?: {}) => (ctx: Koa.Context, next?: () => Promise) => Promise; export declare const parseCookie: (s?: string) => (ctx: Koa.Context, next?: typeof defaultNext) => Promise; export {};