interface ApiOptions { method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'; body?: Record; params?: Record; } export declare class ApiError extends Error { statusCode: number; details?: unknown | undefined; constructor(message: string, statusCode: number, details?: unknown | undefined); } export declare function apiRequest(endpoint: string, options?: ApiOptions): Promise; export interface Enclave { id: string; name: string; description: string; status: string; region: string; providerId: string; walletAddress: string; createdAt: string; updatedAt: string; sourceType?: 'registry' | 'github' | 'private-registry'; buildStatus?: string; buildId?: string; githubConnection?: { isConnected: boolean; username: string; selectedRepo?: string; selectedBranch?: string; }; } export declare function getEnclaves(): Promise<{ enclaves: Enclave[]; }>; export declare function getEnclave(id: string): Promise<{ enclave: Enclave; }>; export declare function createEnclave(data: { name: string; description: string; region: string; providerId: string; providerConfig?: Record; sourceType?: 'registry' | 'github' | 'private-registry'; githubConnection?: { isConnected: boolean; username: string; selectedRepo: string; selectedBranch: string; accessToken?: string; }; privateRegistry?: { registryUrl: string; username: string; password: string; }; dockerImage?: string; }): Promise<{ enclave: Enclave; }>; export declare function performEnclaveAction(id: string, action: 'pause' | 'resume' | 'terminate'): Promise<{ enclave: Enclave; message: string; }>; export declare function deleteEnclave(id: string): Promise<{ message: string; }>; export declare function getEnclaveLogs(id: string, type?: string, limit?: number): Promise<{ logs: Record; }>; export interface Provider { id: string; name: string; description: string; regions: string[]; } export declare function getProviders(): Promise<{ providers: Provider[]; }>; export interface ProofDetails { proofId: string; commitment: string; publicInputs: string[]; algorithm: string; verifiedAt: string; expiresAt: string; } export interface VerificationResult { proofId: string; isValid: boolean; publicInputs: string[]; verifiedAt: string; chainVerified: boolean; expiresAt: string; } export declare function getProof(proofId: string): Promise; export declare function verifyProof(proofId: string): Promise; export interface Task { id: string; name: string; description: string; enclaveId: string; status: string; schedule: string; walletAddress: string; createdAt: string; updatedAt: string; lastRun?: string; } export declare function getTasks(enclaveId?: string): Promise<{ tasks: Task[]; }>; export declare function createTask(data: { name: string; description: string; enclaveId: string; schedule: string; }): Promise<{ task: Task; }>; export declare function deleteTask(id: string): Promise<{ message: string; }>; export declare function piiIngest(body: Record): Promise; export declare function piiRetrieve(body: Record): Promise; export declare function piiDelete(piiId: string): Promise; export declare function piiConsentGrant(body: Record): Promise; export declare function piiConsentRevoke(consentId: string): Promise; export interface PiiAuditEvent { eventId: string; workflowId: string; workflowRunId: string; stepId: string; stepName: string; piiFieldsPresent: string[]; piiFieldsAllowed: string[]; piiFieldsStripped: string[]; hadViolation: boolean; timestamp: string; account?: string; walletAddress?: string; } export interface PiiAuditResponse { summary: { total: number; violations: number; workflows: string[]; }; events: PiiAuditEvent[]; } export declare function piiAudit(params: { wallet?: string; workflowId?: string; violations?: boolean; startDate?: string; limit?: string; }): Promise; /** KYC → PII bridge (verified proof in DynamoDB + encrypted PII row). */ export declare function kycPiiBridge(body: Record): Promise; export {}; //# sourceMappingURL=api.d.ts.map