import { PathMatcher, PathResult } from "./PathMatcher"; /** * PathMatcher that consumes {text} from a uri path * * {test} may include slashes * * Matcher will consume leading slashes, i.e. * * `new Literal("widgets/on-sale")` will match any of these: * * ``` * widgets/on-sale/100 * //widgets/on-sale/100 * /widgets/on-sale/100 * ``` */ export declare class Literal implements PathMatcher { private readonly text; private readonly strippedText; private readonly base; constructor(text: string); consume(path: string): PathResult; expand(_value: undefined): string; } export declare function literal(text: string): PathMatcher; //# sourceMappingURL=Literal.d.ts.map