interface ProviderCredentialsProps { password: string | null; privateKey: string | null; accessKeyId: string | null; secretAccessKey: string | null; refreshToken: string | null; accessToken: string | null; } export declare abstract class ProviderCredentialsBase { protected props: ProviderCredentialsProps; protected constructor(props: ProviderCredentialsProps); get password(): string | null; get privateKey(): string | null; get accessKeyId(): string | null; get secretAccessKey(): string | null; get refreshToken(): string | null; get accessToken(): string | null; /** * Create credentials with password * @param password - string */ static createPassword(password: string): ProviderCredentialsBase; /** * Create credentials with private key * @param privateKey - string */ static createPrivateKey(privateKey: string): ProviderCredentialsBase; /** * Create credentials for S3 * @param accessKeyId - string * @param secretAccessKey - string */ static createS3(accessKeyId: string, secretAccessKey: string): ProviderCredentialsBase; /** * Create credentials for OAuth * @param refreshToken - string * @param accessToken - string (optional) */ static createOAuth(refreshToken: string, accessToken: string | null): ProviderCredentialsBase; protected validate(): void; } export {}; //# sourceMappingURL=provider-credentials.base.d.ts.map