import Logger from "../../../../logger.js";
import type { CommunityEditOptions, InternalCommunityRecordAfterFirstUpdateType, ParsedCommunityEditOptions } from "../../../../community/types.js";
import type { LocalCommunity } from "../local-community.js";
export declare function movePostUpdatesFolderToNewAddress(community: LocalCommunity, oldAddress: string, newAddress: string): Promise<void>;
export declare function parseRolesToEdit(community: LocalCommunity, newRawRoles: NonNullable<CommunityEditOptions["roles"]>): Promise<NonNullable<InternalCommunityRecordAfterFirstUpdateType["roles"]>>;
export declare function parseChallengesToEdit(community: LocalCommunity, newChallengeSettings: NonNullable<NonNullable<CommunityEditOptions["settings"]>["challenges"]>): Promise<NonNullable<Pick<InternalCommunityRecordAfterFirstUpdateType, "challenges" | "_usingDefaultChallenge">>>;
export declare function validateNewAddressBeforeEditing(community: LocalCommunity, newAddress: string, log: Logger): Promise<void>;
export declare function editPropsOnStartedCommunity(community: LocalCommunity, parsedEditOptions: ParsedCommunityEditOptions): Promise<LocalCommunity>;
export declare function editPropsOnNotStartedCommunity(community: LocalCommunity, parsedEditOptions: ParsedCommunityEditOptions): Promise<LocalCommunity>;
export declare function edit(community: LocalCommunity, newCommunityOptions: CommunityEditOptions): Promise<LocalCommunity>;
