import { CID } from 'multiformats'; import { SignedDelegation } from './types.ts'; export declare class DagIncompleteError extends Error { rootCID: string; reason: string; constructor(rootCID: string, reason: string); } /** * Store a CAR file using UCAN delegation authentication. * * Uses the delegation spec format (cmd/sub/pol) for authorization. * The delegation and its proof chain are sent via HTTP headers: * - Authorization: Bearer * - ucans: * * @param baseUrl - Base URL of the storage server * @param car - CAR file blob to upload * @param delegation - Signed delegation authorizing the store operation * @returns CID of the stored content */ export declare function storeCar(baseUrl: string, car: Blob, delegation: SignedDelegation, signal?: AbortSignal): Promise; //# sourceMappingURL=store.d.ts.map