/// <reference types="node" />
import type * as path from 'path';
/**
 * 获取 Node.js path 模块
 * 动态导入 path 模块，避免在浏览器环境中引起错误
 * @returns Node.js path 模块
 * @example
 * ```ts
 * const path = getPath();
 * const fullPath = path.resolve(__dirname, './file.txt');
 * const basename = path.basename('/path/to/file.txt'); // 'file.txt'
 * ```
 */
export declare function getPath(): typeof path;
