export function handleFilecoinSubmitMessage(context: import('./api.js').FilecoinSubmitMessageContext, message: import('./api.js').FilecoinSubmitMessage): Promise<{ error: import("../errors.js").ComputePieceFailed; ok?: undefined; } | { error: StoreOperationFailed; ok?: undefined; } | { ok: {}; error?: undefined; } | { error: BlobNotFound; ok?: undefined; } | { error: UnexpectedPiece; ok?: undefined; }>; export function handlePieceOfferMessage(context: import('./api.js').PieceOfferMessageContext, message: import('./api.js').PieceOfferMessage): Promise<{ error: API.UcantoInterface.HandlerExecutionError | API.UcantoInterface.Failure | API.UcantoInterface.HandlerNotFound | API.UcantoInterface.InvalidAudience | API.UcantoInterface.Unauthorized; ok?: undefined; } | { ok: {}; error?: undefined; }>; export function handlePieceInsert(context: import('./api.js').StorefrontClientContext, record: PieceRecord): Promise<{ error: API.UcantoInterface.HandlerExecutionError | API.UcantoInterface.HandlerNotFound | API.UcantoInterface.InvalidAudience | API.UcantoInterface.Unauthorized | API.FilecoinSubmitFailure; ok?: undefined; } | { ok: {}; error?: undefined; }>; export function handlePieceInsertToEquivalencyClaim(context: import('./api.js').ClaimsClientContext, record: PieceRecord): Promise<{ error: import("@ucanto/core").Failure | API.UcantoInterface.HandlerExecutionError | API.UcantoInterface.HandlerNotFound | API.UcantoInterface.InvalidAudience | API.UcantoInterface.Unauthorized; ok?: undefined; } | { ok: {}; error?: undefined; }>; export function handlePieceStatusUpdate(context: import('./api.js').StorefrontClientContext, record: PieceRecord): Promise<{ error: UnexpectedState; ok?: undefined; } | { error: API.UcantoInterface.HandlerExecutionError | API.UcantoInterface.HandlerNotFound | API.UcantoInterface.InvalidAudience | API.UcantoInterface.Unauthorized | API.FilecoinAcceptFailure; ok?: undefined; } | { ok: {}; error?: undefined; }>; export function handleCronTick(context: import('./api.js').CronContext): Promise<{ error: API.StoreGetError | undefined; ok?: undefined; } | { ok: { updatedCount: number; pendingCount: number; }; error?: undefined; }>; export type PieceRecord = import('./api.js').PieceRecord; export type PieceRecordKey = import('./api.js').PieceRecordKey; export type PieceStore = import('./api.js').PieceStore; import { StoreOperationFailed } from '../errors.js'; import { BlobNotFound } from '../errors.js'; import { UnexpectedPiece } from '../errors.js'; import * as API from '../types.js'; import { UnexpectedState } from '../errors.js'; //# sourceMappingURL=events.d.ts.map