import type { NormalizedBase } from "./normaliseBase.js"; export type DataSuffix = `/${string}`; export type AbsolutePath = `/${string}`; /** * Takes a path and removes the base & data suffix * * @param fullPath The path to parse, including base & data suffix. Should be absolute * @returns A tuple of the path and the data suffix */ export declare function parseRoute(fullPath: string, normalizedBase: NormalizedBase): [AbsolutePath, DataSuffix | undefined]; /** * Adds the base & data suffix back to a path * * @param path The path to serialize * @param base The normalized base path * @param dataSuffix The data suffix (if it exists) */ export declare const serializeRoute: (path: string, normalizedBase: NormalizedBase, dataSuffix: DataSuffix | undefined) => string; //# sourceMappingURL=route.d.ts.map