import { MutationObserver } from '@tanstack/query-core';
import { WeavyType } from '../client/weavy';
import { AppType } from '../types/app.types';
import { PostType } from '../types/posts.types';
export type MutatePostSubscribeVariables = {
    id: number;
    subscribe: boolean;
};
export type SubscribePostMutationType = MutationObserver<PostType, Error, MutatePostSubscribeVariables, void>;
export declare function getSubscribePostMutationOptions(weavy: WeavyType, app: AppType): {
    mutationKey: readonly unknown[];
    mutationFn: ({ id, subscribe }: MutatePostSubscribeVariables) => Promise<PostType>;
    onMutate: (variables: MutatePostSubscribeVariables) => void;
    onSuccess: (data: PostType, variables: MutatePostSubscribeVariables) => void;
};
export declare function getSubscribePostMutation(weavy: WeavyType, app: AppType): SubscribePostMutationType;
//# sourceMappingURL=post-subscribe.d.ts.map