export declare function hasHeadingSlash(path: string): boolean; export declare function hasTrailingSlash(path: string): boolean; export declare function addHeadingSlash(path: string): string; export declare function addTrailingSlash(path: string): string; export declare function removeHeadingSlash(path: string): string; export declare function removeTrailingSlash(path: string): string; /** * A short-hand method to add heading slash and remove trailing slash. */ export declare function normalizePath(path: string): string; export declare function attachTitleHeader(path: string): string; /** * If the pagePath is top page path, eliminate the pageId from the url path. */ export declare function returnPathForURL(path: string, id: string): string; /** * Get the parent path of the specified path. */ export declare function getParentPath(path: string): string;