import { GetOrgAPIKeyResponse, GetUserAPIKeyResponse, GetUserAPIKeysResponse } from '../types/admin-api-types'; import { Logger, SkaiBaseClient } from './base-client'; /** * Configuration for SKAI Admin Client */ export interface SkaiAdminClientConfig { /** Base URL for SKAI API (e.g., 'https://api-dev.agents.skillfulai.io') */ baseUrl: string; /** Admin API key for privileged operations */ adminApiKey: string; /** Request timeout in milliseconds (optional, defaults to 5 minutes) */ timeout?: number; } export declare class SkaiAdminClient extends SkaiBaseClient { private readonly adminApiKey; constructor(log: Logger, config: SkaiAdminClientConfig); /** * Get all system-managed API keys for a specific user * @param userId The ID of the user whose API keys to retrieve * @returns GetUserAPIKeysResponse containing the user's system-managed API keys */ getUserApiKeys(userId: string): Promise; /** * Get a system-managed API key for a user * @param userId The ID of the user whose API key to retrieve * @returns GetUserAPIKeyResponse containing the API key */ getUserApiKey(userId: string): Promise; /** * Get or create a system-managed API key for an organization * @param organizationId The UUID of the organization * @returns GetOrgAPIKeyResponse containing the API key */ getOrgApiKey(organizationId: string): Promise; /** * Create a new SKAI Admin client instance */ static create(log: Logger, config: SkaiAdminClientConfig): SkaiAdminClient; }