import { type Hex } from 'viem'; export interface EigenDAClientConfig { /** The base URL of the EigenDA V2 proxy server */ proxyURL: string; } /** * Custom error for service unavailability */ export declare class ServiceUnavailableError extends Error { constructor(message: string); } /** * Main client for interfacing with EigenDA */ export declare class EigenDAClient { private readonly httpClient; /** * Creates a new EigenDA client * @param config Client configuration with proxy URL */ constructor(config: EigenDAClientConfig); /** * Uploads data to EigenDA * @param data The data to upload (as Uint8Array) * @returns Promise resolving to the data certificate * @throws Error on upload failure */ setData(data: Uint8Array): Promise; /** * Retrieves data from EigenDA using its commitment * @param commitment The commitment (hex string with 0x prefix) * @returns Promise resolving to the data * @throws Error if data retrieval fails */ getData(commitment: Hex): Promise; } export default EigenDAClient; //# sourceMappingURL=eigenda.d.ts.map