/**
 * Internal utility function to validate if a path is absolute or not.
 *
 * To avoid bugs, we should enforce that all paths are absolute.
 *
 * @throws if the path is not absolute.
 *
 * @example
 * 	assertIsAbsolutePath("/absolute/path")
 */
export declare function assertIsAbsolutePath(path: string): void;
export declare function normalizePath(path: string, { trailingSlash, leadingSlash }?: {
    trailingSlash?: 'always' | 'strip';
    leadingSlash?: 'always';
}): string;
export declare function getDirname(path: string): string;
export declare function getBasename(path: string): string;
//# sourceMappingURL=helpers.d.ts.map