import type { BotConfig } from "../config/config.js"; import type { ProviderAuthMethod, ProviderPlugin } from "../plugins/types.js"; export declare function resolveProviderMatch(providers: ProviderPlugin[], rawProvider?: string): ProviderPlugin | null; export declare function pickAuthMethod(provider: ProviderPlugin, rawMethod?: string): ProviderAuthMethod | null; export declare function mergeConfigPatch(base: T, patch: unknown): T; export declare function applyDefaultModel(cfg: BotConfig, model: string): BotConfig;