import type { BuildRuntime } from "@trigger.dev/core/v3/schemas";
export type FillCompileCacheOptions = {
    runtime: BuildRuntime;
    runWorkerPath: string;
    compileCacheDir: string;
    nodeOptions?: string;
    otelHookInclude?: string[];
    env: Record<string, string | undefined>;
    cwd?: string;
    timeoutMs?: number;
};
/**
 * Starts the run worker once with the compile cache turned on, so it imports the config and every
 * task file the way a run does and Node writes a cache entry for each module. Resolves with the
 * worker's exit code, or null if it timed out.
 */
export declare function fillCompileCache({ runtime, runWorkerPath, compileCacheDir, nodeOptions, otelHookInclude, env: $env, cwd, timeoutMs, }: FillCompileCacheOptions): Promise<{
    exitCode: number | null;
    stderr: string;
}>;
