ailock
Version:
AI-Proof File Guard - Protect sensitive files from accidental AI modifications
29 lines • 761 B
TypeScript
import { Platform, type PlatformAdapter } from '../platform.js';
/**
* Factory class for creating platform-specific adapters
*/
export declare class PlatformFactory {
private static instance;
/**
* Create a platform adapter based on the current OS
*/
static createAdapter(): PlatformAdapter;
/**
* Detect the current platform
*/
static detectPlatform(): Platform;
/**
* Reset the cached instance (mainly for testing)
*/
static reset(): void;
/**
* Get information about the current platform
*/
static getPlatformInfo(): {
platform: Platform;
os: string;
isWSL: boolean;
supportImmutable: boolean;
};
}
//# sourceMappingURL=PlatformFactory.d.ts.map