import type { SourceConfig, SourceCredentials, SourceOptions, SourcesConfig } from './types.js'; /** * Get the environment variable name for a source credential */ export declare function getEnvVarName(sourceName: string, key: string): string | null; /** * Get all environment variable names for credentials */ export declare function getAllEnvVarMappings(): Record>; /** * Read sources configuration */ export declare function readSourcesConfig(): SourcesConfig; /** * Write sources configuration */ export declare function writeSourcesConfig(config: SourcesConfig): void; /** * Get configuration for a specific source */ export declare function getSourceConfig(sourceName: string): SourceConfig | null; /** * Set configuration for a specific source */ export declare function setSourceConfig(sourceName: string, sourceConfig: SourceConfig): void; /** * Get credentials for a specific source * Priority: Environment variables > Config file */ export declare function getSourceCredentials(sourceName: string): SourceCredentials | null; /** * Check if credentials came from environment variables */ export declare function isCredentialFromEnv(sourceName: string, key: string): boolean; /** * Set a credential for a specific source */ export declare function setSourceCredential(sourceName: string, key: string, value: string): void; /** * Delete a credential for a specific source */ export declare function deleteSourceCredential(sourceName: string, key: string): boolean; /** * Get default options for a specific source */ export declare function getSourceDefaults(sourceName: string): SourceOptions | null; /** * Set default options for a specific source */ export declare function setSourceDefaults(sourceName: string, defaults: SourceOptions): void; /** * Check if a source is enabled * Sources are enabled by default unless explicitly disabled */ export declare function isSourceEnabled(sourceName: string): boolean; /** * Enable or disable a source */ export declare function setSourceEnabled(sourceName: string, enabled: boolean): void; /** * List all configured sources */ export declare function listConfiguredSources(): string[]; /** * Delete all configuration for a source */ export declare function deleteSourceConfig(sourceName: string): boolean; /** * Get the config file path (for display purposes) */ export declare function getSourcesConfigPath(): string; //# sourceMappingURL=config.d.ts.map