/** * Converts Unix-style paths to platform-appropriate paths. * On Windows: * - Absolute paths starting with '/': adds drive letter and converts to backslashes * - Relative/partial paths: converts forward slashes to backslashes * On Unix: keeps paths as-is. * * @param pathStr - Unix-style path (e.g., '/test/path' or '.config/file.json') * @returns Platform-appropriate path * @internal */ export declare function convertToSystemPath(pathStr: string): string; /** * Creates a unique temporary directory for test output. * Uses {@link getTempPath} as the base, creating it if needed. * * @param options - Configuration options: `prefix` (default: 'cli-e2e-') and * `useSystemTmp` (default: false) which uses the OS temp directory instead of * cwd/tmp to avoid monorepo workspace detection by package managers and git. * @returns The path and a cleanup function * @public */ export declare function createTmpDir(options?: { prefix?: string; useSystemTmp?: boolean; }): Promise<{ cleanup: () => Promise; path: string; }>; /** * Gets the current Windows drive letter from process.cwd(). * Falls back to 'C:\\' if detection fails. * * @returns Drive letter with backslash (e.g., 'C:\\', 'D:\\') or empty string on Unix * @internal */ export declare function getCurrentDrive(): string; /** * Gets the path to the fixtures directory bundled with this package. * * The fixtures are copied during build and bundled with the published package. * This function works the same whether the package is used in a monorepo * or installed from npm. * * @returns Absolute path to the fixtures directory * @internal */ export declare function getFixturesPath(): string; /** * Gets the path to the temporary directory for test fixtures. * * Uses the initial working directory captured when this module was first loaded, * not process.cwd() which may change during test execution. * * @param customTempDir - Optional custom temp directory path * @returns Absolute path to temp directory (default: initial cwd/tmp) * @internal */ export declare function getTempPath(customTempDir?: string): string; export {};