import type { RuntimeAgentId, RuntimeProjectShortcut } from "../core/api-contract.js";
export interface RuntimeConfigState {
    globalConfigPath: string;
    projectConfigPath: string | null;
    selectedAgentId: RuntimeAgentId;
    selectedShortcutLabel: string | null;
    agentAutonomousModeEnabled: boolean;
    readyForReviewNotificationsEnabled: boolean;
    shortcuts: RuntimeProjectShortcut[];
    commitPromptTemplate: string;
    openPrPromptTemplate: string;
    commitPromptTemplateDefault: string;
    openPrPromptTemplateDefault: string;
}
export interface RuntimeConfigUpdateInput {
    selectedAgentId?: RuntimeAgentId;
    selectedShortcutLabel?: string | null;
    agentAutonomousModeEnabled?: boolean;
    readyForReviewNotificationsEnabled?: boolean;
    shortcuts?: RuntimeProjectShortcut[];
    commitPromptTemplate?: string;
    openPrPromptTemplate?: string;
}
export declare function pickBestInstalledAgentIdFromDetected(detectedCommands: readonly string[]): RuntimeAgentId | null;
export declare function getRuntimeGlobalConfigPath(): string;
export declare function getRuntimeProjectConfigPath(cwd: string): string;
export declare function toGlobalRuntimeConfigState(current: RuntimeConfigState): RuntimeConfigState;
export declare function loadRuntimeConfig(cwd: string): Promise<RuntimeConfigState>;
export declare function loadGlobalRuntimeConfig(): Promise<RuntimeConfigState>;
export declare function saveRuntimeConfig(cwd: string, config: {
    selectedAgentId: RuntimeAgentId;
    selectedShortcutLabel: string | null;
    agentAutonomousModeEnabled: boolean;
    readyForReviewNotificationsEnabled: boolean;
    shortcuts: RuntimeProjectShortcut[];
    commitPromptTemplate: string;
    openPrPromptTemplate: string;
}): Promise<RuntimeConfigState>;
export declare function updateRuntimeConfig(cwd: string, updates: RuntimeConfigUpdateInput): Promise<RuntimeConfigState>;
export declare function updateGlobalRuntimeConfig(current: RuntimeConfigState, updates: RuntimeConfigUpdateInput): Promise<RuntimeConfigState>;
//# sourceMappingURL=runtime-config.d.ts.map