export function w3sBlobAllocateProvider(context: API.LegacyBlobServiceContext): API.ServiceMethod; export function allocate(context: API.LegacyBlobServiceContext, { capability }: API.ProviderInput): Promise<({ ok?: undefined; } & { error: Server.API.Failure; }) | { error: UnsupportedCapability; ok?: undefined; } | { error: BlobSizeOutsideOfSupportedRange; ok?: undefined; } | { ok: { size: number & Server.API.Phantom<{ typeof: "integer"; }>; address?: undefined; }; error?: undefined; } | { ok: { size: number & Server.API.Phantom<{ typeof: "integer"; }>; address: { url: string; headers: { 'x-amz-checksum-sha256': string; 'content-length': string; } & Record; expiresAt: string; }; }; error?: undefined; }>; import * as API from '../../types.js'; import * as Server from '@ucanto/server'; import { UnsupportedCapability } from './lib.js'; import { BlobSizeOutsideOfSupportedRange } from './lib.js'; //# sourceMappingURL=allocate.d.ts.map