import { Workspace } from '../workspace.ts'; export type BackendKind = 'ram' | 'disk'; export interface NativeEnv { kind: BackendKind; ws: Workspace; native(cmd: string, stdin?: Uint8Array | null): Promise; mirage(cmd: string, stdin?: Uint8Array | null): Promise; createFile(relativePath: string, content: Uint8Array): void; cleanup(): Promise; } export declare const NATIVE_BACKENDS: readonly BackendKind[]; export declare function makeEnv(kind: BackendKind): NativeEnv; export interface CrossEnv { kinds: readonly [BackendKind, BackendKind]; ws: Workspace; createFile(mountIdx: 1 | 2, relativePath: string, content: Uint8Array): void; run(cmd: string): Promise; exit(cmd: string): Promise; stderr(cmd: string): Promise; provision(cmd: string): Promise; cleanup(): Promise; } export declare function makeCrossEnv(kinds: readonly [BackendKind, BackendKind]): CrossEnv; export declare const CROSS_MOUNT_PAIRS: readonly (readonly [BackendKind, BackendKind])[]; //# sourceMappingURL=native_fixture.d.ts.map