export declare const useJoinCommunity: ({ onSuccess, onError, }?: {
    onSuccess?: () => void;
    onError?: (error: Error) => void;
}) => {
    joinCommunity: (communityId: string) => Promise<void>;
    isPending: boolean;
};
//# sourceMappingURL=useJoinCommunity.d.ts.map