export type AuthConfig = { type: 'apikey' | 'oauth'; apiKey?: string; headerName?: string; prefix?: string; tokenFile?: string; clientId?: string; clientSecret?: string; tokenUrl?: string; deviceCodeUrl?: string; scopes?: string[]; }; export type ProviderInputConfig = { providerId: string; type: string; baseUrl?: string; baseURL?: string; auth?: AuthConfig; apiKey?: string[]; }; export type UpdateOptions = { providerId?: string; configPath: string; write: boolean; outputDir?: string; blacklistAdd?: string[]; blacklistRemove?: string[]; blacklistFile?: string; listOnly?: boolean; useCache?: boolean; probeKeys?: boolean; verbose?: boolean; }; export type ModelsList = { models: string[]; raw?: unknown; }; export type BlacklistFile = { models: string[]; updatedAt: number; }; export type ProviderSingleConfig = Record; export type UpdateResult = { providerId: string; totalRemote: number; filtered: number; added: string[]; removed: string[]; kept: string[]; completedWithTemplates: string[]; outputPath: string; blacklistPath: string; };