/** * @description concat path(s) to base, with heading '/' and without tailing '/' * @example * safeJoinPath('a/b/c','d','e/','','/') => '/a/b/c/d/e' * safeJoinPath('https://cdn.payping.ir/', '/statics/img.png') => 'https://statics.payping.ir/img.png' */ export declare function safeJoinPath(base: string, ...paths: string[]): string; /** * @description remove path from base with perpetual heading "/" and remove tailing '/' *@example * safeDeletePath('a/b/c/d','d') => '/a/b/c' */ export declare function safeDeletePath(base: string, path: string): string;