import { Ib, TransformResult } from "@ibgib/ts-gib/dist/types.mjs"; import { IbGibSpaceAny } from "@ibgib/core-gib/dist/witness/space/space-base-v1.mjs"; import { MetaspaceService } from "@ibgib/core-gib/dist/witness/space/metaspace/metaspace-types.mjs"; import { IbGibSettings, SettingsIbGib_V1 } from "./settings-types.mjs"; import type { SettingsData_V1, SettingsIbInfo } from "./settings-types.mjs"; import { SettingsType } from "./settings-constants.mjs"; import { IbGib_V1 } from "@ibgib/ts-gib/dist/V1/types.mjs"; export declare function getSettingsScope({ ibGib }: { ibGib: IbGib_V1; }): Promise; export declare function getSectionName({ settingsType, useCase, }: { settingsType: SettingsType; useCase: string; }): Promise; export declare function parseSectionName({ sectionName, }: { sectionName: string; }): { settingsType: SettingsType; useCase: string; }; export declare function getDefaultSettings({ settingsType, }: { settingsType: SettingsType; }): Promise; export declare function getSettingsSection({ sectionName, settingsIbGib, }: { /** * key (i.e. name) of section to get from the `settingsIbGib.data.sections`. * @see {@link SettingsData_V1.sections} * @see {@link IbGibSettings} */ sectionName: string; settingsIbGib: SettingsIbGib_V1; }): Promise; export declare function getSettingsIb({ scope, }: { scope: string; }): Ib; export declare function parseSettingsIb({ ib, }: { ib: Ib; }): SettingsIbInfo; /** * creates a new settings ibgib with default values set (and atow 05/2025 also * assigns "current" Settings as well). * * if {@link saveInSpace} is true, then will save the transform result AND * register the ibgib with the metaspace's latest index. This requires also * {@link metaspace} to be truthy, and throws if it is not. If {@link space} is * falsy, then will use the metaspace's default local user space. */ export declare function createSettings({ scope, metaspace, space, saveInSpace, }: { scope: string; metaspace?: MetaspaceService; space?: IbGibSpaceAny; saveInSpace?: boolean; }): Promise>; /** * hacky function that atow (05/2025) populates default/current * general/texteditor sections */ export declare function getDefaultSettingsData(): Promise; //# sourceMappingURL=settings-helpers.d.mts.map