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