import { MutationObserver } from '@tanstack/query-core'; import { WeavyType } from '../client/weavy'; import { FileMutationContextType, FileType } from '../types/files.types'; import { AppType } from '../types/app.types'; export type MutateFileVariables = { file: FileType; }; export type RemoveFileMutationType = MutationObserver; export type DeleteForeverFileMutationType = MutationObserver; export declare function getTrashFileMutationOptions(weavy: WeavyType, app: AppType): { mutationKey: readonly unknown[]; mutationFn: ({ file }: MutateFileVariables) => Promise; onMutate: (variables: MutateFileVariables) => FileMutationContextType; onSuccess: (data: void, variables: MutateFileVariables) => void; onError(error: Error, variables: MutateFileVariables): void; }; export declare function getTrashFileMutation(weavy: WeavyType, app: AppType): RemoveFileMutationType; export declare function getRestoreFileMutationOptions(weavy: WeavyType, app: AppType): { mutationKey: readonly unknown[]; mutationFn: ({ file }: MutateFileVariables) => Promise; onMutate: (variables: MutateFileVariables) => FileMutationContextType; onSuccess: (data: void, variables: MutateFileVariables) => void; onError(error: Error, variables: MutateFileVariables): void; }; export declare function getRestoreFileMutation(weavy: WeavyType, app: AppType): RemoveFileMutationType; export declare function getDeleteForeverFileMutationOptions(weavy: WeavyType, app: AppType): { mutationKey: readonly unknown[]; mutationFn: ({ file }: MutateFileVariables) => Promise; onMutate: (variables: MutateFileVariables) => FileMutationContextType; onSuccess: (_data: void, variables: MutateFileVariables) => void; onError(error: Error, variables: MutateFileVariables): void; }; export declare function getDeleteForeverFileMutation(weavy: WeavyType, app: AppType): DeleteForeverFileMutationType; //# sourceMappingURL=file-remove.d.ts.map