import { DatasetRequestOptions } from "./requestOptions.cjs"; import { LeafCreateAndOverwriteResult, LeafCreateIfAbsentResult } from "./createDataResource.cjs"; import { SolidLeaf } from "../../resources/SolidLeaf.cjs"; //#region src/requester/requests/uploadResource.d.ts /** * @internal * Uploads a binary resource at the provided URI * * @param uri - The URI of the resource * @param overwrite - If true, the request will overwrite any previous resource * at this URI. * @param options - Options to provide a fetch function and a local dataset to * update. * @returns One of many create results depending on the input */ declare function uploadResource(resource: SolidLeaf, blob: Blob, mimeType: string, overwrite: true, options?: DatasetRequestOptions): Promise; declare function uploadResource(resource: SolidLeaf, blob: Blob, mimeType: string, overwrite?: false, options?: DatasetRequestOptions): Promise; //#endregion export { uploadResource }; //# sourceMappingURL=uploadResource.d.cts.map