export declare function encodePathSegment(value: string | number): string;