/**
 * Skill script runtime registry (#1227).
 *
 * Resolves a runtime name from a skill's `script.runtime` declaration to
 * an interpreter command + args list. The CLI uses this dispatch table
 * to invoke skill scripts with the right interpreter, regardless of the
 * agent's host platform.
 *
 * Schema in SKILL.md frontmatter:
 *
 *   script:
 *     entrypoint: scripts/voice_loader.py
 *     runtime: python3
 *
 * No silent fallbacks: an unknown runtime name produces a clear error
 * with the supported list. `auto` dispatches by file extension, with
 * shebang as a tiebreaker for ambiguous extensions.
 */
/**
 * A resolved runtime invocation: the interpreter binary plus any leading
 * args that prefix the entrypoint path.
 */
export interface RuntimeInvocation {
    command: string;
    prefixArgs: string[];
}
/**
 * The set of supported runtime names — used in error messages so users
 * see what they can pick from when they typo a runtime.
 */
export declare function supportedRuntimes(): string[];
/**
 * Resolve a runtime name (potentially `auto`) to an invocation.
 *
 * `auto` resolves by file extension first; if the extension is unknown,
 * it reads the entrypoint's shebang line. Returns null if neither path
 * yields a known runtime — callers must surface that as a user error.
 */
export declare function resolveRuntime(runtimeName: string, entrypointAbsPath: string): Promise<RuntimeInvocation | null>;
//# sourceMappingURL=runtime.d.ts.map