import { Augur } from "../../Augur"; import { DB } from "../db/DB"; import * as t from "io-ts"; export declare function Getter(alternateInterface?: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void; declare type GetterFunction = (db: DB, params: T) => Promise; export declare class Router { static Add(name: string, getterFunction: GetterFunction, decodedParams: t.Validation): void; private static routings; private readonly augur; private readonly db; constructor(augur: Augur, db: Promise); route(name: string, params: any): Promise; } export {}; //# sourceMappingURL=Router.d.ts.map