import { Result } from "@http4t/result"; import { PathMatcher, PathResult } from "../PathMatcher"; export type ParserResult = Result; export interface Parser { parse(value: string): ParserResult; unparse(value: T): string; } export declare abstract class ParserPath implements PathMatcher { private readonly base; private readonly parser; protected constructor(base: PathMatcher, parser: Parser); consume(path: string): PathResult; expand(value: T): string; } //# sourceMappingURL=index.d.ts.map