import type { Method } from './method';
import { Route } from './route';
import type { Path, Pattern, Resolver } from './types';
export type Routes = Map<Method, Set<Route>>;
export declare class Router {
    #private;
    constructor();
    add(method: Method, pattern: Pattern, resolver: Resolver, ...resolvers: Resolver[]): this;
    get(method: string, path: Path): Route | null;
}
