UNPKG

filecoin-pin

Version:

Bridge IPFS content to Filecoin Onchain Cloud using familiar tools

15 lines 630 B
import type { RmPieceOptions, RmPieceResult } from './types.js'; /** * Run the remove piece process. * * @param options - CLI options including piece CID and dataSet id * @returns Transaction hash, confirmation status, and identifiers used * * Behavior: * - Requires both `piece` and `dataSet`; throws if missing/invalid * - Uses CLI auth env/flags via parseCLIAuth * - Streams progress to spinner and exits with cancel on failure * - Always calls cleanupSynapseService to close providers */ export declare function runRmPiece(options: RmPieceOptions): Promise<RmPieceResult>; //# sourceMappingURL=remove-piece.d.ts.map