/** Dependency-free computer capability policy shared by the registry and implementation. */ export interface ComputerSettingsSource { settings: { get(key: string): unknown; has(key: string): boolean; }; } export declare function setComputerPlatformForTests(platform: NodeJS.Platform | undefined): void; export declare function setComputerArchForTests(arch: NodeJS.Architecture | undefined): void; export declare function currentComputerPlatform(): NodeJS.Platform; export declare function currentComputerArch(): NodeJS.Architecture; export declare function isComputerSupportedPlatform(platform?: NodeJS.Platform, arch?: NodeJS.Architecture): boolean; /** Whether the capability is listable on this host. Windows is the only excluded platform. */ export declare function isComputerLoadablePlatform(platform?: NodeJS.Platform): boolean; export declare function isComputerEnabled(session: ComputerSettingsSource): boolean; export declare function isComputerCallable(session: ComputerSettingsSource, platform?: NodeJS.Platform, arch?: NodeJS.Architecture): boolean;