import type { ThirdwebClient } from "../client/client.js"; export type UnpinOptions = { client: ThirdwebClient; cid: string; }; /** * Unpins a file from IPFS. * For security purposes, this method requires a secret key to be set in the ThirdwebClient instance. * @param options - The options for unpinning the file. * @param options.client - The Thirdweb client instance. * @param options.cid - The content identifier (CID) of the file to unpin. * @throws Will throw an error if the client does not have a secret key or if the unpinning fails. * @example * ```ts * import { unpin } from "thirdweb"; * * const result = await unpin({ * client: thirdwebClient, * cid: "QmTzQ1N1z1Q1N1z1Q1N1z1Q1N1z1Q1N1z1Q1N1z1Q1N1z1", * }); * ``` * @storage */ export declare function unpin(options: UnpinOptions): Promise; //# sourceMappingURL=unpin.d.ts.map