import type { SKYKOIConfig } from "../../config/config.js";
import type { InlineDirectives } from "./directive-handling.parse.js";
import { type ModelAliasIndex } from "../../koi/model-selection.js";
import { type SessionEntry } from "../../config/sessions.js";
export declare function persistInlineDirectives(params: {
    directives: InlineDirectives;
    effectiveModelDirective?: string;
    cfg: SKYKOIConfig;
    koiDir?: 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;
    koiCfg: NonNullable<SKYKOIConfig["kois"]>["defaults"] | undefined;
}): Promise<{
    provider: string;
    model: string;
    contextTokens: number;
}>;
export declare function resolveDefaultModel(params: {
    cfg: SKYKOIConfig;
    koiId?: string;
}): {
    defaultProvider: string;
    defaultModel: string;
    aliasIndex: ModelAliasIndex;
};
