/** * LogVault API client for CLI */ export interface Organization { id: string; name: string; email: string; } export interface ApiKey { id: string; name: string; prefix: string; createdAt: string; status: "active" | "revoked"; } export interface HealthCheck { status: "ok" | "error"; latency: number; organization?: Organization; quota?: { used: number; limit: number; }; } export interface AuthResult { apiKey: string; organization: Organization; } /** * Exchange CLI token for API key and organization info */ export declare function exchangeToken(cliToken: string): Promise; /** * Check API health and get organization info */ export declare function checkHealth(apiKey: string): Promise; /** * List API keys for the organization */ export declare function listApiKeys(cliToken: string): Promise; /** * Validate API key format */ export declare function validateApiKeyFormat(apiKey: string): { valid: boolean; message?: string; }; /** * Get the auth URL for browser login */ export declare function getAuthUrl(callbackPort: number, state: string): string; /** * Get dashboard URLs */ export declare const urls: { dashboard: string; keys: string; configGenerator: string; docs: string; }; //# sourceMappingURL=api.d.ts.map