import type { ThinkingLevel } from '../coder/ThinkingLevel';
import type { PromptRunnerHarnessName } from '../common/promptRunnerCliOptions';
import type { number_port } from '../../../types/number_positive';
/**
 * Next runtime mode supported by the local Agents Server foreground launcher.
 *
 * @private internal type of `ptbk agents-server`
 */
export type AgentsServerNextRuntimeMode = 'start' | 'dev';
/**
 * Options required to start the foreground Agents Server service group.
 *
 * @private internal type of `ptbk agents-server`
 */
export type StartAgentsServerOptions = {
    readonly port: number_port;
    readonly agentName: PromptRunnerHarnessName;
    readonly model?: string;
    readonly noUi: boolean;
    readonly thinkingLevel?: ThinkingLevel;
    readonly allowCredits: boolean;
    readonly nextRuntimeMode: AgentsServerNextRuntimeMode;
    readonly isBuildForced: boolean;
};
/**
 * Starts the Agents Server web app and local coding-agent queue workers in the foreground.
 *
 * @private internal utility of `ptbk agents-server`
 */
export declare function startAgentsServer(options: StartAgentsServerOptions): Promise<void>;
/**
 * Loads launch-directory `.env` values without overriding explicit process environment.
 *
 * @private internal utility of `ptbk agents-server`
 */
export declare function loadAgentsServerProjectEnvironment(launchWorkingDirectory: string): void;
