import type { IContainerRuntimePort } from '../ports/outbound/IContainerRuntimePort.js'; import type { IWorldAssignmentPort } from '../ports/outbound/IWorldAssignmentPort.js'; import { WorldAssignmentError, type WorldAssignmentSnapshot } from '../../domain/services/worldAssignment.js'; /** * Refuse a world assignment change on a server that is not stopped (#670). * Nothing is stopped automatically. 'not_found' also means "runtime * unreachable" (D1), so it passes only when a strict list succeeds (#734). A * throw (or no runtime) is undetermined, and so is a name no server can have * (ServerName.fromExisting rejects it). */ export declare function checkServerStopped(runtime: IContainerRuntimePort | undefined, server: string): WorldAssignmentError | null; /** * Why the proposed snapshot `next` may not replace the current assignments, * or null (#670). Only servers whose assignment changes (world, location, or * readable/undetermined) are checked: each must pass checkProposed (R1, R7) * and every one of them must be stopped (the error lists the running ones). */ export declare function checkSnapshotChange(assignments: IWorldAssignmentPort, runtime: IContainerRuntimePort | undefined, next: WorldAssignmentSnapshot): Promise; /** Why `server`'s config.env may not become `configEnv`, or null (#670). */ export declare function checkConfigEnvChange(assignments: IWorldAssignmentPort | undefined, runtime: IContainerRuntimePort | undefined, server: string, configEnv: string): Promise; /** Why the platform .env may not become `dotenv` (inherited EXTRA_ARGS), or null (#670). */ export declare function checkPlatformEnvChange(assignments: IWorldAssignmentPort | undefined, runtime: IContainerRuntimePort | undefined, dotenv: string): Promise; //# sourceMappingURL=checkServerStopped.d.ts.map