/** * Configuration validation helpers - handles input validation and provider configuration */ import type { Config } from './schema.js'; /** * Provider configuration labels and defaults (generated from PROVIDER_REGISTRY) */ export declare const PROVIDER_LABELS: Record; export declare const DEFAULT_MODELS: Record; /** * Order provider keys for display: alphabetical by label (case-insensitive), * with the built-in `local` provider always pinned last. Plugin-contributed * providers are sorted alongside the built-ins. */ export declare function sortProviderKeysForDisplay(keys: string[], labelOf: (key: string) => string): string[]; /** * Available provider choices for setup wizard (queries the catalog at call time). * Providers are listed alphabetically by label, with Local always last. */ export declare function getProviderChoices(): Array<{ checked?: boolean; name: string; value: string; }>; /** * Quick setup provider choices (queries the catalog at call time). * Providers are listed alphabetically by label, with Local always last. * No-API-key providers are annotated so users can spot the zero-config options. */ export declare function getQuickSetupChoices(): Array<{ name: string; value: string; }>; /** * Configure a specific LLM provider */ export declare function configureProvider(providerName: string, config: Config): Promise; /** * Configure default preferences */ export declare function configureDefaults(config: Config): Promise; /** * Validate API key input */ export declare function validateApiKey(input: string): boolean | string; /** * Filter out skip option from provider selection */ export declare function filterValidProviders(providers: string[]): string[]; //# sourceMappingURL=validation-helpers.d.ts.map