export interface SandboxStatus {
    available: boolean;
    error?: string;
    dockerVersion?: string;
    imageExists?: boolean;
    dockerfileExists?: boolean;
    buildCommand?: string;
    pool?: {
        total: number;
        idle: number;
        claimed: number;
        warming: number;
    };
}
export declare function isBuildingImage(): boolean;
export declare function buildSandboxImage(imageName: string, projectDir: string): Promise<{
    success: boolean;
    error?: string;
}>;
/**
 * Check if the Docker image has the expected pi-coding-agent version baked in.
 * Returns the image version (or null if not labelled / image missing).
 */
export declare function getImageAgentVersion(imageName: string): Promise<string | null>;
export declare function getImageBedrockHeadersPatchLabel(imageName: string): Promise<string | null>;
/** Get the host's installed pi-coding-agent version. */
export declare function getHostAgentVersion(): string | null;
/**
 * Ensure the sandbox image has the correct pi-coding-agent version.
 * Rebuilds automatically if the version is stale or missing.
 * Returns true if the image is ready.
 */
export declare function ensureImageAgentVersion(imageName: string, projectDir: string): Promise<boolean>;
export declare function checkDockerAvailability(imageName?: string): Promise<SandboxStatus>;
//# sourceMappingURL=sandbox-status.d.ts.map