import React from 'react';
import { CategoryTopic, Community, Topic } from "../../../../../interfaces/types";
import { Option } from "../../../../../../types";
type Props = {
    communitiesList: Community[];
    communityValue: Option;
    selectedTopics: (CategoryTopic | Topic)[];
    isInEditMode: boolean;
    defaultCommunity?: Community;
    setCommunityValue: (val: Option) => void;
    setSelectedTopics: (val: (CategoryTopic | Topic)[]) => void;
    onSubmitPost: (uncategorized?: boolean) => void;
};
declare const CommonCommunity: ({ communitiesList, communityValue, selectedTopics, defaultCommunity, isInEditMode, setCommunityValue, setSelectedTopics, onSubmitPost, }: Props) => React.JSX.Element;
export default CommonCommunity;
