import type { IRouterResult, IRouter } from '@iopa/types';
import { Node } from './node';
export declare class TrieRouter<T> implements IRouter<T> {
    node: Node<T>;
    constructor();
    add(method: string, path: string, handler: T): void;
    match(method: string, path: string): IRouterResult<T> | null;
}
//# sourceMappingURL=router.d.ts.map