import type { AztecAsyncKVStore } from '@aztec/kv-store'; import { type TelemetryClient } from '@aztec/telemetry-client'; import { type Express } from 'express'; import { type BlobStore } from '../blobstore/index.js'; import type { BlobSinkConfig } from './config.js'; /** * Example usage: * const service = new BlobSinkService({ port: 5052 }); * await service.start(); * ... later ... * await service.stop(); */ export declare class BlobSinkServer { private store?; port: number; protected blobStore: BlobStore; private app; private server; private metrics; private log; private disableStorage; constructor(config?: BlobSinkConfig, store?: AztecAsyncKVStore | undefined, telemetry?: TelemetryClient); private setupBlobStore; private setupRoutes; private status; private handleGetBlobs; private handlePostBlobs; /** * Parse the blob data * * The blob sink http client will compress the blobs it sends * * @param blobs - The blob data * @returns The parsed blob data */ private parseBlobData; setDisableBlobStorage(value: boolean): void; start(): Promise; stop(): Promise; getApp(): Express; /** Deletes all blobs in the sink. Used for testing. */ clear(): Promise; } //# sourceMappingURL=server.d.ts.map