/// <reference types="node" />
/**
 * Environment variable passed to the bundled Next app so webpack can resolve dependencies
 * installed beside `ptbk` even when the app sources are materialized into a project cache.
 *
 * @private internal constant of `buildAgentsServer`
 */
export declare const PTBK_AGENTS_SERVER_NODE_MODULES_PATH_ENV = "PTBK_AGENTS_SERVER_NODE_MODULES_PATH";
/**
 * Environment variable consumed by `apps/agents-server/next.config.ts` to throttle build workers.
 *
 * @private internal constant of `buildAgentsServer`
 */
export declare const PTBK_AGENTS_SERVER_BUILD_WORKER_COUNT_ENV = "PTBK_AGENTS_SERVER_BUILD_WORKER_COUNT";
/**
 * Environment variable used only by the CLI-owned production build.
 *
 * @private internal constant of `buildAgentsServer`
 */
export declare const PTBK_AGENTS_SERVER_IGNORE_NEXT_VALIDATION_ENV = "PTBK_AGENTS_SERVER_IGNORE_NEXT_VALIDATION";
/**
 * Adds dependency-resolution environment required by the materialized Agents Server runtime.
 *
 * @private internal utility of `buildAgentsServer`
 */
export declare function createAgentsServerRuntimeEnvironment(environment: NodeJS.ProcessEnv, nodeModulesPath: string, options?: {
    readonly isNextValidationIgnored?: boolean;
}): NodeJS.ProcessEnv;
