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