import { Tn as AgentModelEntryConfig, i as OpenClawConfig } from "./types.openclaw-FkxG7fk3.js"; import { a as ModelApi, f as ModelProviderConfig, s as ModelDefinitionConfig } from "./types.models-Dpw7Xleu.js"; //#region src/plugin-sdk/provider-onboard.d.ts type AgentModelAliasEntry = string | { modelRef: string; alias?: string; }; declare const OPENCODE_ZEN_DEFAULT_MODEL = "opencode/claude-opus-4-6"; type ProviderOnboardPresetAppliers = { applyProviderConfig: (cfg: OpenClawConfig, ...args: TArgs) => OpenClawConfig; applyConfig: (cfg: OpenClawConfig, ...args: TArgs) => OpenClawConfig; }; declare function withAgentModelAliases(existing: Record | undefined, aliases: readonly AgentModelAliasEntry[]): Record; declare function applyOnboardAuthAgentModelsAndProviders(cfg: OpenClawConfig, params: { agentModels: Record; providers: Record; }): OpenClawConfig; declare function applyAgentDefaultModelPrimary(cfg: OpenClawConfig, primary: string): OpenClawConfig; declare function applyOpencodeZenModelDefault(cfg: OpenClawConfig): { next: OpenClawConfig; changed: boolean; }; declare function applyProviderConfigWithDefaultModels(cfg: OpenClawConfig, params: { agentModels: Record; providerId: string; api: ModelApi; baseUrl: string; defaultModels: ModelDefinitionConfig[]; defaultModelId?: string; }): OpenClawConfig; declare function applyProviderConfigWithDefaultModel(cfg: OpenClawConfig, params: { agentModels: Record; providerId: string; api: ModelApi; baseUrl: string; defaultModel: ModelDefinitionConfig; defaultModelId?: string; }): OpenClawConfig; declare function applyProviderConfigWithDefaultModelPreset(cfg: OpenClawConfig, params: { providerId: string; api: ModelApi; baseUrl: string; defaultModel: ModelDefinitionConfig; defaultModelId?: string; aliases?: readonly AgentModelAliasEntry[]; primaryModelRef?: string; }): OpenClawConfig; declare function createDefaultModelPresetAppliers(params: { resolveParams: (cfg: OpenClawConfig, ...args: TArgs) => Omit[1], "primaryModelRef"> | null | undefined; primaryModelRef: string; }): ProviderOnboardPresetAppliers; declare function applyProviderConfigWithDefaultModelsPreset(cfg: OpenClawConfig, params: { providerId: string; api: ModelApi; baseUrl: string; defaultModels: ModelDefinitionConfig[]; defaultModelId?: string; aliases?: readonly AgentModelAliasEntry[]; primaryModelRef?: string; }): OpenClawConfig; declare function createDefaultModelsPresetAppliers(params: { resolveParams: (cfg: OpenClawConfig, ...args: TArgs) => Omit[1], "primaryModelRef"> | null | undefined; primaryModelRef: string; }): ProviderOnboardPresetAppliers; declare function applyProviderConfigWithModelCatalog(cfg: OpenClawConfig, params: { agentModels: Record; providerId: string; api: ModelApi; baseUrl: string; catalogModels: ModelDefinitionConfig[]; }): OpenClawConfig; declare function applyProviderConfigWithModelCatalogPreset(cfg: OpenClawConfig, params: { providerId: string; api: ModelApi; baseUrl: string; catalogModels: ModelDefinitionConfig[]; aliases?: readonly AgentModelAliasEntry[]; primaryModelRef?: string; }): OpenClawConfig; declare function createModelCatalogPresetAppliers(params: { resolveParams: (cfg: OpenClawConfig, ...args: TArgs) => Omit[1], "primaryModelRef"> | null | undefined; primaryModelRef: string; }): ProviderOnboardPresetAppliers; declare function ensureModelAllowlistEntry(params: { cfg: OpenClawConfig; modelRef: string; defaultProvider?: string; }): OpenClawConfig; //#endregion export { withAgentModelAliases as _, applyOnboardAuthAgentModelsAndProviders as a, applyProviderConfigWithDefaultModelPreset as c, applyProviderConfigWithModelCatalog as d, applyProviderConfigWithModelCatalogPreset as f, ensureModelAllowlistEntry as g, createModelCatalogPresetAppliers as h, applyAgentDefaultModelPrimary as i, applyProviderConfigWithDefaultModels as l, createDefaultModelsPresetAppliers as m, OPENCODE_ZEN_DEFAULT_MODEL as n, applyOpencodeZenModelDefault as o, createDefaultModelPresetAppliers as p, ProviderOnboardPresetAppliers as r, applyProviderConfigWithDefaultModel as s, AgentModelAliasEntry as t, applyProviderConfigWithDefaultModelsPreset as u };