import { OSAdapter } from '../adapter.js'; import '../types.js'; import 'fs'; /** * Adapter factory * Returns the appropriate adapter based on the current platform */ type PlatformWithMock = NodeJS.Platform | 'mock'; /** * Get the appropriate adapter for the current platform * @param platformOverride Override the platform detection (useful for testing) * @returns The appropriate adapter for the current platform * @throws Error if the platform is not supported */ declare function getAdapter(platformOverride?: PlatformWithMock): OSAdapter; export { getAdapter };