import type { ChatLayout, ChatBrand, ChatUi } from "./utils.js";
export interface ChatRuntimeInput {
    root: string;
    rootSource?: string;
    activeCwd?: string;
    effectiveRunId: string;
    effectiveAgentFile: string;
    sessionId: string;
    layout: ChatLayout;
    brand: ChatBrand;
    currentMode: import("../../util/mode-preset.js").OmkMode;
    providerPolicy: string;
    modelArg: ReturnType<typeof import("../../providers/model-registry.js").parseProviderModelArg>;
    mcpScope: "all" | "project" | "none";
    effectiveResources: Awaited<ReturnType<typeof import("../../util/resource-profile.js").getOmkResourceSettings>>;
    effectiveWorkers: string;
    executionPrompt: string;
    ui: ChatUi;
    chatRuntimeMcpAllowlist: string[] | undefined;
    chatRuntimeSkillAllowlist: string[] | undefined;
}
export declare function shouldUseDirectKimiFallback(): boolean;
export declare function runChatRuntime(options: {
    agentFile?: string;
    runId?: string;
    workers?: string;
    maxStepsPerTurn?: string;
    layout?: ChatLayout;
    brand?: ChatBrand;
    mode?: string;
    execution?: string;
    provider?: string;
    model?: string;
    cockpitRefresh?: string;
    cockpitRedraw?: "diff" | "full" | "append";
    cockpitHistory?: "off" | "static" | "watch";
    cockpitSideWidth?: string;
    cockpitHeight?: string;
    ui?: string;
    mcpScope?: string;
    smoke?: boolean;
    json?: boolean;
    showThink?: string;
    reasoningNlp?: boolean;
    reasoningSummary?: string;
}, input: ChatRuntimeInput): Promise<number>;
