import type { Params } from '../../router'; export declare class Node { constructor(method?: string, handler?: T, children?: Record>); insert(method: string, path: string, handler: T): Node; search(method: string, path: string): [[T, Params][]]; }