next
Version:
The React Framework
10 lines (9 loc) • 344 B
TypeScript
import type { PathnameNormalizer } from './pathname-normalizer';
export declare class SegmentPrefixRSCPathnameNormalizer implements PathnameNormalizer {
match(pathname: string): boolean;
extract(pathname: string): {
originalPathname: string;
segmentPath: string;
} | null;
normalize(pathname: string): string;
}