export type ThemeMode = 'system' | 'light' | 'dark';
export type ResolvedTheme = 'light' | 'dark';
export type SessionsViewMode = 'kanban' | 'board' | 'table';
export declare const THEME_STORAGE_KEY = "botmux.dashboard.theme";
export declare const SESSIONS_VIEW_STORAGE_KEY = "botmux.dashboard.sessions.view";
export declare function normalizeThemeMode(value: unknown): ThemeMode | null;
export declare function normalizeSessionsViewMode(value: unknown): SessionsViewMode | null;
export declare function resolveThemeMode(mode: ThemeMode, systemPrefersDark: boolean): ResolvedTheme;
export declare function readStoredThemeMode(storage: Storage | undefined): ThemeMode;
export declare function readStoredSessionsViewMode(storage: Storage | undefined): SessionsViewMode;
export declare const SESSIONS_BOARD_ORDER_STORAGE_KEY = "botmux.dashboard.sessions.boardOrder";
export declare const DEFAULT_BOARD_ORDER: readonly ["needs-you", "starting", "working", "idle"];
/** 必须是默认四列的一个排列（防旧版本残留/手改 localStorage 的脏值）。 */
export declare function normalizeBoardOrder(value: unknown): string[] | null;
export declare function readStoredBoardOrder(storage: Storage | undefined): string[];
export declare function writeStoredBoardOrder(storage: Storage | undefined, order: string[]): void;
export declare function writeStoredSessionsViewMode(storage: Storage | undefined, mode: SessionsViewMode): void;
export type KanbanGroupBy = 'flow' | 'team' | 'bot';
export declare const KANBAN_GROUPBY_STORAGE_KEY = "botmux.dashboard.sessions.kanbanGroupBy";
export declare const KANBAN_TEAM_STORAGE_KEY = "botmux.dashboard.sessions.kanbanTeam";
export declare function normalizeKanbanGroupBy(value: unknown): KanbanGroupBy | null;
export declare function readStoredKanbanGroupBy(storage: Storage | undefined): KanbanGroupBy;
export declare function writeStoredKanbanGroupBy(storage: Storage | undefined, mode: KanbanGroupBy): void;
export type SidebarMode = 'expanded' | 'collapsed';
export declare const SIDEBAR_STORAGE_KEY = "botmux.dashboard.sidebar";
export declare function normalizeSidebarMode(value: unknown): SidebarMode | null;
export declare function readStoredSidebarMode(storage: Storage | undefined): SidebarMode;
export declare function writeStoredSidebarMode(storage: Storage | undefined, mode: SidebarMode): void;
export type SkinId = 'default' | 'cyber' | 'genshin' | 'fallout' | 'prts' | 'bluearchive' | 'zzz' | 'dragonball' | 'ikun';
export declare const SKIN_IDS: readonly SkinId[];
export declare const SKIN_STORAGE_KEY = "botmux.dashboard.skin";
export declare function normalizeSkin(value: unknown): SkinId | null;
export declare function readStoredSkin(storage: Storage | undefined): SkinId;
//# sourceMappingURL=preferences.d.ts.map