import { IPathTestResult } from "./IPathTestResult"; import { IPathTemplate } from "./IPathTemplate"; import { IPathTemplateOptions } from "./IPathTemplateOptions"; declare class PathTemplate implements IPathTemplate { private _text; private _keys; private _re; private _pf; constructor(text: string, opts?: IPathTemplateOptions); readonly text: string; readonly paramNames: string[]; readonly paramCount: number; test(path: string): IPathTestResult; toPath(params: any): string; toString(): string; } declare const matches: (value: string, pattern: string) => boolean; export { PathTemplate, matches };