import type { DiagnosticsSink } from './sdk-diagnostics.js'; export declare const WORKER_RUNTIME_ASSET_ROOT_ENV = "QODER_WORKER_RUNTIME_ASSET_ROOT"; export interface PreparedWorkerRuntimePath { runtimePath: string; runtimeRoot: string; materialized: boolean; sourceRuntimeRoot?: string; env: Record; } export interface PrepareWorkerRuntimePathOptions { cacheDir?: string; diagnostics?: DiagnosticsSink; forceMaterialize?: boolean; } export declare function isInsideElectronAsar(candidate: string): boolean; export declare function resolveAsarUnpackedPath(candidate: string): string | null; export declare function prepareQoderWorkerRuntimePath(runtimePath: string, options?: PrepareWorkerRuntimePathOptions): Promise;