import { Config } from '@backstage/config'; /** * The configuration parameters for a single AWS CodeCommit provider. * * @public */ export type AwsCodeCommitIntegrationConfig = { /** * Host, git host derived from region */ host: string; /** * (Optional) User access key id */ accessKeyId?: string; /** * (Optional) User secret access key */ secretAccessKey?: string; /** * (Optional) ARN of role to be assumed */ roleArn?: string; /** * (Optional) External ID to use when assuming role */ externalId?: string; /** * region to use for AWS (default: us-east-1) */ region: string; }; /** * Reads a single Aws CodeCommit integration config. * * @param config - The config object of a single integration * @public */ export declare function readAwsCodeCommitIntegrationConfig(config: Config): AwsCodeCommitIntegrationConfig; /** * Reads a set of AWS CodeCommit integration configs, and inserts some defaults for * public Amazon AWS if not specified. * * @param configs - The config objects of the integrations * @public */ export declare function readAwsCodeCommitIntegrationConfigs(configs: Config[]): AwsCodeCommitIntegrationConfig[];