import type { SelectOption } from "../config/item-presenter.js"; export interface SettingsFieldSchema { id: string; label: string; type: "select" | "toggle" | "text" | "number" | "range" | "color" | "custom"; component?: unknown; options?: () => SelectOption[]; min?: number; max?: number; step?: number; target: | { type: "cell"; name: string; } | { type: "store"; storeId: string; property: string; } | { type: "callback"; }; } export interface SettingsSchema { id: string; label: string; icon?: string; fields: SettingsFieldSchema[]; } export declare function defineSettings(schema: SettingsSchema): SettingsSchema;