import type { ModelAliasIndex } from "../../agents/model-selection.js";
import type { KaijiBotConfig } from "../../config/config.js";
import type { SessionEntry } from "../../config/sessions/types.js";
import type { InlineDirectives } from "./directive-handling.parse.js";
export declare function persistInlineDirectives(params: {
    directives: InlineDirectives;
    effectiveModelDirective?: string;
    cfg: KaijiBotConfig;
    agentDir?: string;
    sessionEntry?: SessionEntry;
    sessionStore?: Record<string, SessionEntry>;
    sessionKey?: string;
    storePath?: string;
    elevatedEnabled: boolean;
    elevatedAllowed: boolean;
    defaultProvider: string;
    defaultModel: string;
    aliasIndex: ModelAliasIndex;
    allowedModelKeys: Set<string>;
    provider: string;
    model: string;
    initialModelLabel: string;
    formatModelSwitchEvent: (label: string, alias?: string) => string;
    agentCfg: NonNullable<KaijiBotConfig["agents"]>["defaults"] | undefined;
    messageProvider?: string;
    surface?: string;
    gatewayClientScopes?: string[];
}): Promise<{
    provider: string;
    model: string;
    contextTokens: number;
}>;
