import Logger from "../../../../logger.js"; import type { CreateNewLocalCommunityParsedOptions, InternalCommunityRecordAfterFirstUpdateType, InternalCommunityRecordBeforeFirstUpdateType } from "../../../../community/types.js"; import type { LocalCommunity } from "../local-community.js"; export declare function initSignerProps(community: LocalCommunity, newSignerProps: InternalCommunityRecordBeforeFirstUpdateType["signer"]): Promise; export declare function importCommunitySignerIntoIpfsIfNeeded(community: LocalCommunity): Promise; export declare function getDbInternalState(community: LocalCommunity, lock: boolean): Promise; export declare function updateDbInternalState(community: LocalCommunity, props: Partial): Promise; export declare function updateInstanceStateWithDbState(community: LocalCommunity): Promise; export declare function updateInstancePropsWithStartedCommunityOrDb(community: LocalCommunity): Promise; export declare function setChallengesToDefaultIfNotDefined(community: LocalCommunity, log: Logger): Promise; export declare function createNewLocalCommunityDb(community: LocalCommunity): Promise; export declare function initNewLocalCommunityPropsNoMerge(community: LocalCommunity, newProps: CreateNewLocalCommunityParsedOptions): Promise; export declare function initInternalCommunityAfterFirstUpdateNoMerge(community: LocalCommunity, newProps: InternalCommunityRecordAfterFirstUpdateType): Promise; export declare function initInternalCommunityBeforeFirstUpdateNoMerge(community: LocalCommunity, newProps: InternalCommunityRecordBeforeFirstUpdateType): Promise; export declare function initDbHandlerIfNeeded(community: LocalCommunity): Promise;