import type { CommandSpan } from "./command-classes.js"; export type SandboxPowerOp = "start" | "stop" | "restart" | "sleep" | "remove" | "update" | "prepare" | "rebuild" | "rollback" | "dev" | "resize" | "restore" | "connect" | "os-update" | "os-rollback" | "os-reboot" | "os-channel"; export declare const SANDBOX_POWER_DOING: { readonly start: "Start"; readonly stop: "Stop"; readonly restart: "Restart"; readonly sleep: "Stop"; readonly remove: "Remove"; readonly update: "Update"; readonly prepare: "Prepare an update for"; readonly rebuild: "Rebuild"; readonly rollback: "Roll back"; readonly dev: "Update"; readonly resize: "Restart with new resources"; readonly restore: "Restore a backup over"; readonly connect: "Reinstall"; readonly "os-update": "Update and reboot the machine running"; readonly "os-rollback": "Roll back and reboot the machine running"; readonly "os-reboot": "Reboot the machine running"; readonly "os-channel": "Switch images and reboot the machine running"; }; export interface SandboxPowerCommand { readonly via: "ic" | "docker" | "bootc"; readonly op: SandboxPowerOp; readonly stops: boolean; readonly targets: readonly string[]; readonly unnamed: boolean; readonly span: CommandSpan; readonly live: boolean; } export declare const sandboxPowerCommands: (command: string) => SandboxPowerCommand[]; export interface OwnSandbox { readonly slug: string; readonly container: string; } export declare const mayReachSandbox: (hit: SandboxPowerCommand, own: OwnSandbox) => boolean; export declare const managesSandbox: (hit: SandboxPowerCommand, containerPrefix: string) => boolean; export declare const isOsPower: (hit: Pick) => boolean; //# sourceMappingURL=sandbox-power.d.ts.map