/**
 * Check if a path contains node_modules directory.
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function isNodeModules(pathLike: string | Buffer | URL): boolean;
/**
 * Check if a path is absolute.
 *
 * An absolute path is one that specifies a location from the root of the file system.
 * This function handles both POSIX and Windows path formats.
 *
 * POSIX absolute paths:
 * - Start with forward slash '/'
 * - Examples: '/home/user', '/usr/bin/node'
 *
 * Windows absolute paths (3 types):
 * 1. Drive-letter paths: Start with drive letter + colon + separator
 *    - Format: [A-Za-z]:[\\/]
 *    - Examples: 'C:\Windows', 'D:/data', 'c:\Program Files'
 *    - Reference: https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#file-and-directory-names
 *
 * 2. UNC paths: Start with double backslash (handled by backslash check)
 *    - Format: \\server\share
 *    - Examples: '\\server\share\file', '\\?\C:\path'
 *    - Reference: https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#unc-names
 *
 * 3. Device paths: Start with backslash
 *    - Examples: '\Windows', '\\.\device'
 *    - Note: Single backslash paths are relative to current drive
 *
 * Examples:
 * - isAbsolute('/home/user') → true (POSIX)
 * - isAbsolute('C:\\Windows') → true (Windows drive letter)
 * - isAbsolute('\\server\\share') → true (Windows UNC)
 * - isAbsolute('../relative') → false
 * - isAbsolute('relative/path') → false
 */
/*@__NO_SIDE_EFFECTS__*/
export declare function isAbsolute(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.
 */
/*@__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;
