import { Route, KineticRequest, KineticResponse } from './types'; export declare class Router { private routes; constructor(); use(path: string, handler: (req: KineticRequest, res: KineticResponse) => void): void; private addRoute; get(path: string, handler: (req: KineticRequest, res: KineticResponse) => void): void; post(path: string, handler: (req: KineticRequest, res: KineticResponse) => void): void; getRoutes(): { [key: string]: Route[]; }; static isRouter(handler: any): handler is Router; }