/**
 * Check if a path contains node_modules directory.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function isNodeModules(pathLike: string | Buffer | URL): boolean;
/**
 * Check if a value is a valid file path (absolute or relative).
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function isPath(pathLike: string | Buffer | URL): boolean;
/**
 * Check if a path is relative (starts with . or ..).
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function isRelative(pathLike: string | Buffer | URL): boolean;
/**
 * Normalize a path by converting backslashes to forward slashes and collapsing segments.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function normalizePath(pathLike: string | Buffer | URL): string;
/**
 * Convert a path-like value to a string.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function pathLikeToString(pathLike: string | Buffer | URL | null | undefined): string;
/**
 * Split a path into an array of segments.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function splitPath(pathLike: string | Buffer | URL): string[];
/**
 * Remove leading ./ or ../ from a path.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function trimLeadingDotSlash(pathLike: string | Buffer | URL): string;
/**
 * Get the relative path from one path to another.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function relativeResolve(from: string, to: string): string;
