import { WeavyType } from '../client/weavy';
export type MutateUserFollowProps = {
    follow: boolean;
};
export type MutateUserFollowContextType = {
    previousFollow: boolean | undefined;
    follow: boolean;
} | undefined;
export declare function getUserFollowMutationOptions(weavy: WeavyType, uid: number | string): {
    mutationKey: (string | number)[];
    mutationFn: ({ follow }: MutateUserFollowProps) => Promise<void>;
    onMutate: ({ follow }: MutateUserFollowProps) => {
        previousFollow: boolean | undefined;
        follow: boolean;
    };
    onError: () => Promise<void>;
};
//# sourceMappingURL=users.d.ts.map