import type { Runtime } from "./types"; import { WASIFS } from "@runno/wasi"; type CommandSource = { binaryURL: `${string}.wasm`; } | { fsPath: string; }; export type Command = CommandSource & { binaryName: string; args?: string[]; env?: { [key: string]: string; }; baseFSURL?: `${string}.tar.gz`; }; export type RuntimeCommands = { prepare?: Array; run: Command; }; export declare function commandsForRuntime(name: Runtime, entryPath: string): RuntimeCommands; export declare function getBinaryPathFromCommand(command: Command, fs: WASIFS): string; export {};