export interface AwsSecretsInfo { roleArn: string; } export declare const SOURCE_SECRETS_STRATEGIES: readonly ["aws", "credentials"]; export type SourceSecretsStrategy = (typeof SOURCE_SECRETS_STRATEGIES)[number]; export interface AwsSecretsValidationPayload { credentialsSecretArn?: string; caCertSecretArn?: string; clientCertSecretArn?: string; clientKeySecretArn?: string; clientKeyPassphraseSecretArn?: string; snowflakeCredentialsSecretArn?: string; snowflakePrivateKeySecretArn?: string; snowflakePrivateKeyPassphraseSecretArn?: string; } export interface AwsSecretsValidationError { code?: string; message?: string; } export interface AwsSecretsValidationResult { status: string; errors?: AwsSecretsValidationError[]; } export interface AwsSourceSecretsConfig { strategy: 'aws'; getInfo?: () => Promise; validate: (payload: AwsSecretsValidationPayload) => Promise; } export interface CredentialsSourceSecretsConfig { strategy: 'credentials'; } export type SourceSecretsConfig = AwsSourceSecretsConfig | CredentialsSourceSecretsConfig;