import { RemoteSandbox } from '@struktoai/mirage-core/runtime/sandbox/base'; import type { RunResult, RuntimeOptions } from '@struktoai/mirage-core/runtime/types'; import { type DaytonaConfig } from './config.ts'; import type * as daytonaSdk from '@daytonaio/sdk'; export type DaytonaSdk = typeof daytonaSdk; /** * A Daytona sandbox the user runs as a whole-line runtime. * * You create the sandbox yourself (dashboard, `daytona sandbox * create`, or the SDK); mirage only connects by `sandboxId` and execs * lines. `apiKey` falls back to DAYTONA_API_KEY. Daytona's exec has * no stdin and reports combined output, so piped bytes are uploaded * and redirected in, and stderr comes back null. close() releases the * SDK client and never touches the sandbox. */ export declare class DaytonaRuntime extends RemoteSandbox { readonly name = "daytona"; private client; private sandbox; constructor(options?: RuntimeOptions | Record); protected loadSdk(): Promise; connect(): Promise; execLine(line: string, stdin: Uint8Array | null, env: Record, cwd: string): Promise; private upload; /** Release the SDK client; the sandbox itself is the user's. */ close(): Promise; } //# sourceMappingURL=runtime.d.ts.map