/** * Register an "upload" with the service. The issuer needs the `upload/add` * delegated capability. * * Required delegated capability proofs: `upload/add` * * @param {import('../types.js').InvocationConfig} conf Configuration * for the UCAN invocation. An object with `issuer`, `with` and `proofs`. * * The `issuer` is the signing authority that is issuing the UCAN * invocation(s). It is typically the user _agent_. * * The `with` is the resource the invocation applies to. It is typically the * DID of a space. * * The `proofs` are a set of capability delegations that prove the issuer * has the capability to perform the action. * * The issuer needs the `upload/add` delegated capability. * @param {import('multiformats/link').UnknownLink} root Root data CID for the DAG that was stored. * @param {import('../types.js').CARLink[]} shards CIDs of CAR files that contain the DAG. * @param {import('../types.js').RequestOptions} [options] * @returns {Promise} */ export function add({ issuer, with: resource, proofs, audience }: import("../types.js").InvocationConfig, root: import("multiformats/link").UnknownLink, shards: import("../types.js").CARLink[], options?: import("../types.js").RequestOptions): Promise; /** Returns the ability used by an invocation. */ export const ability: "upload/add"; export function input(root: import("multiformats/link").UnknownLink, shards: import("../types.js").CARLink[]): { root: import("multiformats/link").UnknownLink; shards: import("@storacha/capabilities/types").CARLink[]; }; //# sourceMappingURL=add.d.ts.map