import { Interpolate, ParamsOf } from './Path'; import { ReaderOption } from './ReaderOption'; /** * @category Model * @since 0.13.0 */ export interface Route
> {
readonly path: P;
readonly match: ReaderOption ;
}
/**
* @category Type-level
* @since 0.13.0
*/
export declare type PathOf = [A] extends [Route (path: P): Route ;
/**
* @category Combinator
* @since 0.13.0
*/
export declare function map(f: (value: A) => B): (route: Route ) => Route ;
/**
* @category Combinator
* @since 0.13.0
*/
export declare function oneOf