import { MutationObserver } from '@tanstack/query-core'; import { WeavyType } from '../client/weavy'; export type MutateCommentVariables = { id: number; appId: number; type: "posts" | "files" | "apps"; parentId: number; }; export type RemoveCommentMutationType = MutationObserver; export declare function getTrashCommentMutationOptions(weavy: WeavyType, type: "posts" | "files" | "apps", parentId: number): { mutationKey: readonly unknown[]; mutationFn: ({ id }: MutateCommentVariables) => Promise; onMutate: (variables: MutateCommentVariables) => void; onSuccess: (_data: void, variables: MutateCommentVariables) => void; }; export declare function getTrashCommentMutation(weavy: WeavyType, type: "posts" | "files" | "apps", parentId: number): RemoveCommentMutationType; export declare function getRestoreCommentMutationOptions(weavy: WeavyType, type: "posts" | "files" | "apps", parentId: number): { mutationKey: readonly unknown[]; mutationFn: ({ id }: MutateCommentVariables) => Promise; onMutate: (variables: MutateCommentVariables) => void; onSuccess: (data: void, variables: MutateCommentVariables) => void; }; export declare function getRestoreCommentMutation(weavy: WeavyType, type: "posts" | "files" | "apps", parentId: number): RemoveCommentMutationType; //# sourceMappingURL=comment-remove.d.ts.map