import { type ModelAliasIndex } from "../../agents/model-selection.js";
import type { SessionEntry } from "../../config/sessions.js";
import type { DaoCoreConfig } from "../../config/types.daocore.js";
import type { ReplyPayload } from "../types.js";
export { resolveModelSelectionFromDirective } from "./directive-handling.model-selection.js";
import type { InlineDirectives } from "./directive-handling.parse.js";
export declare function maybeHandleModelDirectiveInfo(params: {
    directives: InlineDirectives;
    cfg: DaoCoreConfig;
    agentDir: string;
    activeAgentId: string;
    provider: string;
    model: string;
    defaultProvider: string;
    defaultModel: string;
    aliasIndex: ModelAliasIndex;
    allowedModelCatalog: Array<{
        provider: string;
        id?: string;
        name?: string;
    }>;
    resetModelOverride: boolean;
    workspaceDir?: string;
    surface?: string;
    sessionEntry?: Pick<SessionEntry, "modelProvider" | "model"> & Partial<Pick<SessionEntry, "agentHarnessId" | "agentRuntimeOverride">>;
}): Promise<ReplyPayload | undefined>;
