/**
 * Normalizes the path and removes the trailing slashes.
 *
 * @example
 *
 * ```js
 * import { normalize, normalizeTrim } from "patha"
 *
 * normalizeTrim("/foo/bar//baz/asdf/hello/../") // gives "/foo/bar/baz/asdf"
 *
 * normalize("/foo/bar//baz/asdf/hello/../") // gives "/foo/bar/baz/asdf/"
 * ```
 *
 * @param path The given file path
 * @returns The normalized and trimmed file path
 */
export declare function normalizeTrim(path: string): string;
