/** * Appearance row slot store: a mirror of the theme service snapshot. The * plugin's apply-world change listener is the only writer; the row component * reads via props.useStore. */ import { type EngineStoreHandle } from '@deepseek-ai/dsh-client-runtime/client'; import type { ThemePreference } from '../theme-settings.ts'; /** Store state mirrored from the theme snapshot. */ export interface AppearanceRowState { /** Persisted preference (selection state reads this, never the resolved active theme). */ preference: ThemePreference; /** Service revision; -1 until first sync so revision 0 lands as a change. */ revision: number; } /** Declared action shape giving the exported factory a stable return type. */ type AppearanceRowActions = { sync: (draft: AppearanceRowState, preference: ThemePreference, revision: number) => void; }; /** * Declares the Appearance row state and write surface. * @returns the store handle. */ export declare function createAppearanceRowStore(): EngineStoreHandle; export {}; //# sourceMappingURL=settings-store.d.ts.map