/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import type { DocusaurusConfig } from '@docusaurus/types'; export type ApplyTrailingSlashParams = Pick; export declare function addTrailingSlash(str: string): string; export default function applyTrailingSlash(path: string, options: ApplyTrailingSlashParams): string; /** Appends a leading slash to `str`, if one doesn't exist. */ export declare function addLeadingSlash(str: string): string; /** Removes the trailing slash from `str`. */ export declare function removeTrailingSlash(str: string): string; //# sourceMappingURL=applyTrailingSlash.d.ts.map