/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import { Config, type ExtensionLoader } from '@google/gemini-cli-core';
import type { Settings } from './settings.js';
import { type AgentSettings } from '../types.js';
export declare function loadConfig(settings: Settings, extensionLoader: ExtensionLoader, taskId: string, trusted?: boolean): Promise<Config>;
export declare function setTargetDir(agentSettings: AgentSettings | undefined): string;
export declare function loadEnvironment(): void;
