import type OpenAI from "openai"; import type { ClientOptions } from "openai"; import { type AudioClient } from "./audio"; import { type endpointsT } from "./config"; import { type FilesClient } from "./files"; import { type ModelsClient } from "./models"; import { type ToolsClient } from "./tools"; import type { DEKStore, EncryptionKeys } from "./types"; export interface RvencClientOptions { apiKey: string; attest?: boolean; encryptionKeys?: EncryptionKeys; clientKEK?: string; dekStore?: DEKStore; requestTimeoutMs?: number; maxBufferSize?: number; config?: { endpoints?: endpointsT; openAIClientOptions?: ClientOptions; }; } export interface RvencClient extends Omit { files: FilesClient; tools: ToolsClient; audio: AudioClient; dekStore: DEKStore; models: ModelsClient; } export declare function createRvencClient(options: RvencClientOptions): Promise; export type { ModelsClient } from "./models"; export type { ToolsClient } from "./tools"; export type { ApiErrorResponse, DEKStore, DecryptedFile, DeleteFileOptions, DeleteFileResponse, DeleteIndexOptions, DeleteIndexResponse, EncryptionKeys, FileMetadata, FileUploadOptions, GetFileOptions, IndexFileInput, IndexFilesOptions, IndexFilesResponse, ListFilesOptions, ListFilesResponse, ListModelsParams, ListModelsResponse, Model, PaginationInfo, UploadedFile } from "./types"; export { generateEncryptionKeys } from "./utils/crypto"; export { deserializeDEKStore, generateNewClientKEK, getClientKEK, getClientKID, initializeDEKStore, serializeDEKStore, } from "./utils/dek-store"; export type { OpenAI }; export { getGatewayErrorMessage, isAttestationError, isGatewayError } from './utils/attestation'; export default createRvencClient;