import type { DefaultRuntimeTransport } from './default-runtime.js'; export interface ImplicitRuntimeOptions { pathToQoderCLIExecutable?: string; executable?: string; executableArgs?: readonly string[]; spawnQoderCLIProcess?: unknown; } export type ImplicitRuntimeSelection = { transport: 'process'; } | { transport: 'worker'; pathToQoderWorkerRuntime?: string; }; /** * Distinguish a Qoder Worker entry from a CLI native binary or script entry. * Unrecognized JavaScript paths remain process CLI entries for compatibility. */ export declare function isQoderWorkerRuntimePath(candidate: string): boolean; /** * Select the local runtime when the caller has not supplied an explicit * transport provider. Explicit paths and process-only launch options override * the transport baked into the SDK package. */ export declare function resolveImplicitRuntimeSelection(options: ImplicitRuntimeOptions, packageDefault: DefaultRuntimeTransport, environment?: NodeJS.ProcessEnv): ImplicitRuntimeSelection;