import type { EmulatorStatus, StatusContract } from '../contracts/status'; export interface DetectStatusOptions { homeDir?: string; platform?: string; } type NpmGlobalRootSpawnSync = (command: string, args: string[], options: { encoding: BufferEncoding; timeout: number; }) => { error?: NodeJS.ErrnoException; status: number | null; stdout: string; }; export declare function setDetectSpawnSyncForTests(spawnSyncImpl: NpmGlobalRootSpawnSync): void; export declare function resetDetectSpawnSyncForTests(): void; export declare function detectEmulatorPrerequisite(homeDir: string | undefined): EmulatorStatus; export declare function detectStatus(options?: DetectStatusOptions): StatusContract; export {};