/** * Benchling credentials for authentication */ export interface BenchlingCredentials { tenant: string; clientId: string; clientSecret: string; } /** * Validation result from Benchling authentication */ export interface ValidationResult { isValid: boolean; hasRequiredPermissions?: boolean; errors: string[]; warnings?: string[]; } /** * Benchling authentication validator * * Validates Benchling credentials by attempting OAuth authentication * and checking required permissions. */ export declare class BenchlingAuthValidator { /** * Required OAuth scopes for the webhook integration */ private static readonly REQUIRED_SCOPES; /** * Validate Benchling credentials * * @param credentials - Benchling credentials to validate * @returns Validation result with errors and warnings */ static validate(credentials: BenchlingCredentials): Promise; /** * Validate tenant format * * @param tenant - Benchling tenant name * @returns True if tenant format is valid */ static validateTenant(tenant: string): Promise; /** * Validate credentials completeness * * @param credentials - Credentials to validate * @returns True if all required fields are present */ static validateCredentials(credentials: BenchlingCredentials): boolean; /** * Authenticate with Benchling OAuth API * * @param credentials - Benchling credentials * @returns Token response from Benchling */ private static authenticate; /** * Check if OAuth scopes include required permissions * * @param scope - OAuth scope string * @returns True if all required scopes are present */ private static checkPermissions; } //# sourceMappingURL=benchling-auth-validator.d.ts.map