/** * Authentication configuration for TestChimp services * Supports both user PAT and project API key authentication modes */ export interface UserPATAuthConfig { mode: 'user_pat'; userAuthKey: string; userMail: string; } export interface ProjectApiKeyAuthConfig { mode: 'project_api_key'; apiKey: string; /** Optional legacy env; server resolves the project from the API key. */ projectId?: string; } export type AuthConfig = UserPATAuthConfig | ProjectApiKeyAuthConfig; /** * Helper function to create user PAT auth configuration */ export declare function createUserPATAuth(userAuthKey: string, userMail: string): UserPATAuthConfig; /** * Helper function to create project API key auth configuration */ export declare function createProjectApiKeyAuth(apiKey: string, projectId?: string): ProjectApiKeyAuthConfig; /** * Helper function to create auth configuration from environment variables * Supports both authentication modes based on available environment variables */ export declare function createAuthConfigFromEnv(): AuthConfig | null; /** * Helper function to get authentication headers for HTTP requests */ export declare function getAuthHeaders(authConfig: AuthConfig): Record; //# sourceMappingURL=auth-config.d.ts.map