import type { Kernel, SettingsFieldSchema, Translator } from "rune-lab/core"; import type { Component } from "svelte"; export declare const RUNE_LAB_CONTEXT: { kernel: symbol; app: symbol; persistence: symbol; }; export declare function getKernel< TCells = Record, >(): Kernel; export declare function createAccessor( contextKey: symbol, accessorName: string, storeName: string, pluginName: string, ): () => T; export interface SettingsSection { id: string; label: string; icon?: string; fields?: SettingsFieldSchema[]; component?: Component; pluginId?: string; } /** * Reads settings sections from the live contributions cell. * MUST be called during component initialization (it calls getContext). */ export declare function getSettingsSections(): SettingsSection[]; export declare function getT(): Translator;