import { MutationKey, MutationObserver } from '@tanstack/query-core';
import { WeavyType } from '../client/weavy';
import { PostMutationContextType } from '../types/posts.types';
import { AppType } from '../types/app.types';
export type MutatePostVariables = {
    id: number;
};
export type RemovePostMutationType = MutationObserver<void, Error, MutatePostVariables, PostMutationContextType>;
export type DeleteForeverPostMutationType = MutationObserver<void, Error, MutatePostVariables, PostMutationContextType>;
export declare function getTrashPostMutationOptions(weavy: WeavyType, app: AppType): {
    mutationKey: MutationKey;
    mutationFn: ({ id }: MutatePostVariables) => Promise<void>;
    onMutate: (variables: MutatePostVariables) => Promise<object>;
    onSuccess: (data: void, variables: MutatePostVariables) => void;
};
export declare function getTrashPostMutation(weavy: WeavyType, app: AppType): RemovePostMutationType;
export declare function getRestorePostMutationOptions(weavy: WeavyType, app: AppType): {
    mutationKey: MutationKey;
    mutationFn: ({ id }: MutatePostVariables) => Promise<void>;
    onMutate: (variables: MutatePostVariables) => Promise<object>;
    onSuccess: (data: void, variables: MutatePostVariables) => void;
};
export declare function getRestorePostMutation(weavy: WeavyType, app: AppType): RemovePostMutationType;
//# sourceMappingURL=post-remove.d.ts.map