export const AllocatedMemoryHadNotBeenWrittenToName: "AllocatedMemoryHadNotBeenWrittenTo"; export class AllocatedMemoryHadNotBeenWrittenTo extends Failure { get name(): string; } export const BlobSizeOutsideOfSupportedRangeName: "BlobSizeOutsideOfSupportedRange"; export class BlobSizeOutsideOfSupportedRange extends Failure { /** * @param {number} blobSize * @param {number} maxUploadSize */ constructor(blobSize: number, maxUploadSize: number); blobSize: number; maxUploadSize: number; get name(): string; toJSON(): { maxUploadSize: number; blobSize: number; name: string; message: string; stack: string | undefined; }; } export class UnsupportedCapability extends Failure { /** * @param {object} source * @param {API.Capability} source.capability */ constructor({ capability: { with: subject, can } }: { capability: API.Capability; }); capability: { with: `${string}:${string}`; can: API.Ability; }; get name(): "UnsupportedCapability"; } export function isW3sProvider(s: API.ProviderDID): boolean; export function isW3sBlobAllocateTask(i: API.Invocation): i is API.Invocation; import { Failure } from '@ucanto/server'; import * as API from '../../types.js'; //# sourceMappingURL=lib.d.ts.map