import type { Config as ProviderConfig } from '../models/Provider.js';
import type { Orchestrator } from '../clients/orchestrator.js';
declare class ConfigService {
    getById(id: number): Promise<ProviderConfig | null>;
    getProviderName(providerConfigKey: string): Promise<string | null>;
    getIdByProviderConfigKey(environment_id: number, providerConfigKey: string): Promise<number | null>;
    getProviderConfigByUuid(providerConfigKey: string, environment_uuid: string): Promise<ProviderConfig | null>;
    getProviderConfig(providerConfigKey: string, environment_id: number): Promise<ProviderConfig | null>;
    listProviderConfigs(environment_id: number): Promise<ProviderConfig[]>;
    listIntegrationForApi(environment_id: number): Promise<(ProviderConfig & {
        connection_count: string;
    })[]>;
    listProviderConfigsByProvider(environment_id: number, provider: string): Promise<ProviderConfig[]>;
    createProviderConfig(config: ProviderConfig): Promise<ProviderConfig | null>;
    createEmptyProviderConfig(provider: string, environment_id: number): Promise<ProviderConfig>;
    deleteProviderConfig({ id, environmentId, providerConfigKey, orchestrator }: {
        id: number;
        environmentId: number;
        providerConfigKey: string;
        orchestrator: Orchestrator;
    }): Promise<boolean>;
    editProviderConfig(config: ProviderConfig): Promise<number>;
    editProviderConfigName(providerConfigKey: string, newUniqueKey: string, environment_id: number): Promise<number>;
    getConfigIdByProvider(provider: string, environment_id: number): Promise<{
        id: number;
        unique_key: string;
    } | null>;
    getConfigIdByProviderConfigKey(providerConfigKey: string, environment_id: number): Promise<number | null>;
    copyProviderConfigCreds(fromEnvironmentId: number, toEnvironmentId: number, providerConfigKey: string): Promise<{
        copiedToId: number;
        copiedFromId: number;
    } | null>;
}
declare const _default: ConfigService;
export default _default;
