import type { Runner } from "../../internals/proc.js"; import { STRIX_RELEASE_VERSION } from "./strix.js"; import type { StrixSandboxPlatform } from "./types.js"; export declare const STRIX_SANDBOX_IMAGE_REPOSITORY = "ghcr.io/usestrix/strix-sandbox"; export declare const STRIX_SANDBOX_IMAGE_VERSION = "1.3.0"; export declare const STRIX_SANDBOX_IMAGE_TAG = "ghcr.io/usestrix/strix-sandbox:1.3.0"; export declare const STRIX_SANDBOX_IMAGE_INDEX_DIGEST = "sha256:f6906c3114e504fd1a218fcf028d7a0e46851118403a438b63956de6ea7c4331"; export declare const STRIX_SANDBOX_IMAGE_MANIFEST_DIGESTS: Readonly<{ readonly "linux/amd64": "sha256:e5e5d9927f15ca95ad49804ef7d22439771cd27378f400da6edd47556799baff"; readonly "linux/arm64": "sha256:38f9eea087079763312877eaf59047c3bd61ece67ab3479c1da63dc48fe50587"; }>; export type StrixPreflightUnavailableReason = "unsupported-platform" | "strix-unavailable" | "strix-version-mismatch" | "sandbox-image-unavailable" | "sandbox-image-identity-mismatch"; export type StrixPreflightResult = { state: "ready"; cliVersion: typeof STRIX_RELEASE_VERSION; image: { indexDigest: typeof STRIX_SANDBOX_IMAGE_INDEX_DIGEST; manifestDigest: string; platform: StrixSandboxPlatform; reference: string; }; } | { state: "unavailable"; reason: StrixPreflightUnavailableReason; }; export declare function strixVersionArgv(): string[]; export declare function strixImageInspectArgv(): string[]; export declare function preflightStrix(run: Runner, platform: StrixSandboxPlatform, env: NodeJS.ProcessEnv, timeoutMs?: number): Promise;