/**
 * olam refresh <world> — Hot-refresh per-world CP from the local checkout.
 *
 * Copies the latest packages/control-plane/standalone/ source into a running
 * devbox container, then restarts the CP via `docker restart`.
 *
 * Restart mechanism: the devbox CMD is `node /opt/olam/control-plane/server.mjs`
 * (PID 1 via entrypoint.sh's `exec "$@"`). No supervisor wrapper exists — killing
 * PID 1 stops the container. `docker restart` is therefore the correct mechanism:
 * it stops the container, re-runs entrypoint.sh + CMD, which reinstalls hooks
 * and starts the CP cleanly.
 *
 * Side-effect: any running tmux sessions (including active claude sessions) are
 * killed on restart. Operators should re-dispatch if needed afterward.
 * This is the accepted tradeoff for a maintenance operation.
 *
 * Source parity: the file list mirrors build-devbox.sh:38-77 exactly. Any
 * drift between this file and that script will produce a broken world.
 */
import type { Command } from 'commander';
export { collectCpSourceFiles, validateServerMjsPresent, type CpSourceEntry } from './refresh-helpers.js';
export declare function registerRefresh(program: Command): void;
//# sourceMappingURL=refresh.d.ts.map