import { CommunitiesModel } from './useCommunities'; export type CommunitiesContainerProps = { /** Handle a click on a community. If undefined, the community's home page will be opened. */ onCommunityClick?: (community: CommunitiesModel) => void; /** Handle a click on the header action button. If undefined, communities (or the community creation flow) will be opened. */ onHeaderActionClick?: () => void; }; export declare function CommunitiesContainer({ onCommunityClick: handleCommunityClick, onHeaderActionClick: handleHeaderActionClick, }: CommunitiesContainerProps): import("react/jsx-runtime").JSX.Element | "An error occurred while loading communities." | null; export declare namespace CommunitiesContainer { var displayName: string; }