import type { DelegateTaskArgs } from "./types";
import type { ExecutorContext } from "./executor-types";
import type { DelegatedModelConfig } from "./types";
import type { FallbackEntry } from "../../shared/model-requirements";
export interface ResolveSubagentExecutionOptions {
    allowSisyphusJuniorDirect?: boolean;
    allowPrimaryAgentDelegation?: boolean;
}
export declare function resolveSubagentExecution(args: DelegateTaskArgs, executorCtx: ExecutorContext, parentAgent: string | undefined, categoryExamples: string, options?: ResolveSubagentExecutionOptions): Promise<{
    agentToUse: string;
    categoryModel: DelegatedModelConfig | undefined;
    fallbackChain?: FallbackEntry[];
    error?: string;
}>;
