import type { AuditorInput, AuditorOutput, ChangeEvent, EvidenceBundle, PolicyContext } from '../types/events.js'; export interface AuditClientConfig { serverUrl?: string; apiKey?: string; timeout?: number; retries?: number; } export interface AuditRequest { changeEvent: ChangeEvent; evidenceBundle?: Partial; policyContext?: Partial; } export interface AuditResult { success: boolean; output?: AuditorOutput; error?: string; duration: number; } export interface ServerInfo { name: string; version: string; endpoints: string[]; tools: string[]; } export declare class AuditClient { private config; constructor(config?: AuditClientConfig); private headers; private fetchWithRetry; private delay; getServerInfo(): Promise; isHealthy(): Promise; audit(request: AuditRequest): Promise; getAuditLogs(): Promise; getAuditEntry(key: string): Promise; watchAudits(pollInterval?: number): AsyncGenerator; } export declare function createPullRequestEvent(repo: string, commit: string, filesChanged: string[], diff: string, environment?: 'dev' | 'staging' | 'prod'): ChangeEvent; export declare function createDeployEvent(repo: string, commit: string, environment: 'dev' | 'staging' | 'prod'): ChangeEvent; export declare function createInfraChangeEvent(repo: string, commit: string, filesChanged: string[], diff: string): ChangeEvent; export { AuditorInput, AuditorOutput, ChangeEvent, EvidenceBundle, PolicyContext };