/** * Gets the parent directory path of a given directory path * Cross-platform compatible (Windows, macOS, Linux) * @param {string} dirPath - The path to get the parent directory from * @returns {string} The parent directory path * * @example * // On Unix-like systems (Mac/Linux) * getParentDirectory('/Users/documents/folder') // returns '/Users/documents' * * // On Windows * getParentDirectory('C:\\Users\\Documents\\folder') // returns 'C:\\Users\\Documents' * * // Works with both forward and backward slashes * getParentDirectory('C:/Users/Documents/folder') // returns 'C:/Users/Documents' */ export declare function getParentDirectory(dirPath: string): string;