import { WeavyType } from '../client/weavy'; import { BlobType, ExternalBlobType, FileMutationContextType } from '../types/files.types'; import { AppType } from '../types/app.types'; import { UserType } from '../types/users.types'; import { MutationObserver } from '@tanstack/query-core'; export type MutateExternalBlobVariables = { externalBlob: ExternalBlobType; }; export type ExternalBlobMutationType = MutationObserver; export declare function externalBlob(weavy: WeavyType, externalBlob: ExternalBlobType): Promise; export declare function getExternalBlobMutationOptions(weavy: WeavyType, user: UserType, appId: AppType["id"], uniqueId?: string): { mutationFn: (variables: MutateExternalBlobVariables) => Promise; mutationKey: readonly unknown[]; onMutate: (variables: MutateExternalBlobVariables) => Promise; onSuccess: (_data: BlobType, variables: MutateExternalBlobVariables, _context: FileMutationContextType | undefined) => void; onError(error: Error, variables: MutateExternalBlobVariables, _context: FileMutationContextType | undefined): void; }; export declare function getExternalBlobMutation(weavy: WeavyType, user: UserType, appId: AppType["id"], uniqueId?: string): ExternalBlobMutationType; //# sourceMappingURL=blob-external.d.ts.map