export interface RuntimeHost { kind: 'iis' | 'iis-express'; siteName: string; siteId: string; pool: string; applicationPath: string; binding: { protocol: string; information: string; }; configPath: string; configHash: string; pid?: number; creationTime?: string; executablePath?: string; commandLine?: string; args?: string[]; ownerSid?: string; workerPids?: number[]; } export interface RuntimeInventory { currentSid: string; isAdmin: boolean; localAddresses: string[]; targetAddresses: string[]; hosts: RuntimeHost[]; errors: string[]; } export interface RuntimeRestartResult { status: 'ready' | 'blocked' | 'failed' | 'not-ready'; message: string; host?: string; replacementPid?: number; } /** Pure selection: never choose a best guess among multiple matching runtime roots. */ export declare function selectAosHost(value: string, inventory: RuntimeInventory): RuntimeHost; interface RestartDependencies { platform: string; command: (request: Record) => Promise; http: (url: string, timeoutMs?: number) => Promise<{ status: number; location?: string; }>; delay: (ms: number) => Promise; now: () => number; } /** Constant script only; all caller/host values travel as JSON on stdin. */ export declare function runtimePowerShell(request: Record): Promise; export declare function restartAosRuntime(value: string, deps?: RestartDependencies): Promise; export {}; //# sourceMappingURL=aosRuntime.d.ts.map