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