/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { SubagentManager } from '../config/subagentManager.js'; export type SubagentManagerResolver = () => SubagentManager | undefined; export declare function shouldIncludeSubagentDelegation(enabledToolNames: string[], resolveSubagentManager: SubagentManagerResolver): Promise; /** * Determines whether to include async subagent guidance in the prompt. * Async guidance should only be shown when: * 1. Subagent delegation is included (tools available, subagents exist) * 2. Global async setting is enabled * 3. Profile async setting is enabled */ export declare function shouldIncludeAsyncSubagentGuidance(includeSubagentDelegation: boolean, globalAsyncEnabled: boolean, profileAsyncEnabled: boolean): Promise;