import { type MaybePromise } from '@augment-vir/core';
/**
 * Runs a callback (which presumably runs a command within the given `containerName`) and kills the
 * given `containerName` container if the callback fails.
 */
export declare function tryOrKillContainer<T>(containerNameOrId: string, callback: (containerNameOrId: string) => MaybePromise<T>): Promise<Awaited<T>>;
