import { type MetadataObject } from '@filoz/synapse-core/utils'; import { addApprovedProvider, getAccountTotalStorageSize, getApprovedProviderIds, getClientDataSetIds, getClientDataSets, getClientDataSetsLength, getDataSet, getPriceList, removeApprovedProvider } from '@filoz/synapse-core/warm-storage'; import { type Account, type Address, type Chain, type Client, type Hash, type Transport } from 'viem'; import type { EnhancedDataSetInfo } from '../types.ts'; export declare class WarmStorageService { private readonly _client; private readonly _chain; constructor(options: { client: Client; }); static create(options: { transport?: Transport; chain?: Chain; account: Account; }): WarmStorageService; getDataSet(options: { dataSetId: bigint; }): Promise; getClientDataSets(options: { address: Address; offset?: bigint; limit?: bigint; }): Promise; getClientDataSetsLength(options: { address: Address; }): Promise; getClientDataSetIds(options: { address: Address; offset?: bigint; limit?: bigint; }): Promise; getClientDataSetsWithDetails(options: { address?: Address; onlyManaged?: boolean; }): Promise; getAccountTotalStorageSize(options?: { address?: Address; }): Promise; validateDataSet(options: { dataSetId: bigint; }): Promise; getActivePieceCount(options: { dataSetId: bigint; }): Promise; getDataSetMetadata(options: { dataSetId: bigint; }): Promise; getDataSetMetadataByKey(options: { dataSetId: bigint; key: string; }): Promise; getPieceMetadata(options: { dataSetId: bigint; pieceId: bigint; }): Promise; getPieceMetadataByKey(options: { dataSetId: bigint; pieceId: bigint; key: string; }): Promise; getPriceList(): Promise; terminateService(options: { dataSetId: bigint; }): Promise; addApprovedProvider(options: { providerId: bigint; }): Promise; removeApprovedProvider(options: { providerId: bigint; }): Promise; getApprovedProviderIds(): Promise; isProviderIdApproved(options: { providerId: bigint; }): Promise; getOwner(): Promise
; isOwner(options: { address: Address; }): Promise; getPDPConfig(): Promise<{ maxProvingPeriod: bigint; challengeWindowSize: bigint; challengesPerProof: bigint; initChallengeWindowStart: bigint; }>; topUpCDNPaymentRails(options: { dataSetId: bigint; cdnAmountToAdd: bigint; cacheMissAmountToAdd: bigint; }): Promise; } //# sourceMappingURL=service.d.ts.map