import { Cn as AgentModelEntryConfig, r as KlawConfig } from "./types.klaw-xKUw_Rz7.js"; import { i as ModelApi, l as ModelProviderConfig, o as ModelDefinitionConfig } from "./types.models-Cae06tWO.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: KlawConfig, ...args: TArgs) => KlawConfig; applyConfig: (cfg: KlawConfig, ...args: TArgs) => KlawConfig; }; declare function withAgentModelAliases(existing: Record | undefined, aliases: readonly AgentModelAliasEntry[]): Record; declare function applyOnboardAuthAgentModelsAndProviders(cfg: KlawConfig, params: { agentModels: Record; providers: Record; }): KlawConfig; declare function applyAgentDefaultModelPrimary(cfg: KlawConfig, primary: string): KlawConfig; declare function applyOpencodeZenModelDefault(cfg: KlawConfig): { next: KlawConfig; changed: boolean; }; declare function applyProviderConfigWithDefaultModels(cfg: KlawConfig, params: { agentModels: Record; providerId: string; api: ModelApi; baseUrl: string; defaultModels: ModelDefinitionConfig[]; defaultModelId?: string; }): KlawConfig; declare function applyProviderConfigWithDefaultModel(cfg: KlawConfig, params: { agentModels: Record; providerId: string; api: ModelApi; baseUrl: string; defaultModel: ModelDefinitionConfig; defaultModelId?: string; }): KlawConfig; declare function applyProviderConfigWithDefaultModelPreset(cfg: KlawConfig, params: { providerId: string; api: ModelApi; baseUrl: string; defaultModel: ModelDefinitionConfig; defaultModelId?: string; aliases?: readonly AgentModelAliasEntry[]; primaryModelRef?: string; }): KlawConfig; declare function createDefaultModelPresetAppliers(params: { resolveParams: (cfg: KlawConfig, ...args: TArgs) => Omit[1], "primaryModelRef"> | null | undefined; primaryModelRef: string; }): ProviderOnboardPresetAppliers; declare function applyProviderConfigWithDefaultModelsPreset(cfg: KlawConfig, params: { providerId: string; api: ModelApi; baseUrl: string; defaultModels: ModelDefinitionConfig[]; defaultModelId?: string; aliases?: readonly AgentModelAliasEntry[]; primaryModelRef?: string; }): KlawConfig; declare function createDefaultModelsPresetAppliers(params: { resolveParams: (cfg: KlawConfig, ...args: TArgs) => Omit[1], "primaryModelRef"> | null | undefined; primaryModelRef: string; }): ProviderOnboardPresetAppliers; declare function applyProviderConfigWithModelCatalog(cfg: KlawConfig, params: { agentModels: Record; providerId: string; api: ModelApi; baseUrl: string; catalogModels: ModelDefinitionConfig[]; }): KlawConfig; declare function applyProviderConfigWithModelCatalogPreset(cfg: KlawConfig, params: { providerId: string; api: ModelApi; baseUrl: string; catalogModels: ModelDefinitionConfig[]; aliases?: readonly AgentModelAliasEntry[]; primaryModelRef?: string; }): KlawConfig; declare function createModelCatalogPresetAppliers(params: { resolveParams: (cfg: KlawConfig, ...args: TArgs) => Omit[1], "primaryModelRef"> | null | undefined; primaryModelRef: string; }): ProviderOnboardPresetAppliers; declare function ensureModelAllowlistEntry(params: { cfg: KlawConfig; modelRef: string; defaultProvider?: string; }): KlawConfig; //#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 };