export type SettingsItem = { key: string; value: unknown; def: unknown; isSet: boolean; type: string; }; export type SettingsSection = { label: string; kind: "global" | "plugin"; file: string; bundle: string | null; items: SettingsItem[]; }; export declare function buildGlobalSection(): SettingsSection; export declare function buildPluginSections(pluginItems: any[]): SettingsSection[]; export type SettingsEntry = { type: "header"; label: string; } | { type: "group"; section: SettingsSection; } | { type: "loading"; label: string; }; export declare function buildSettingsEntries(sections: SettingsSection[], loading?: string[]): SettingsEntry[]; export declare function firstSelectableIndex(entries: SettingsEntry[]): number;