import { type ThemeFamily } from "../appearance/theme-family.js"; export { DEFAULT_THEME_FAMILY, isThemeFamily, THEME_FAMILY_APP_STATE_KEY, THEME_FAMILY_ATTRIBUTE, THEME_FAMILY_STORAGE_KEY, themeFamilyAppStateKey, themeFamilyStorageKey, type ThemeFamily, } from "../appearance/theme-family.js"; export declare const THEME_FAMILY_CHANGE_EVENT = "agent-native:theme-family-change"; export type ThemeFamilyStorageStatus = "valid" | "missing" | "invalid" | "unreadable"; export type StoredThemeFamily = { status: "valid"; family: ThemeFamily; } | { status: "missing"; } | { status: "invalid"; value: string; } | { status: "unreadable"; error: Error; }; export interface ThemeFamilyApplyResult { family: ThemeFamily; storageStatus: "saved" | "unavailable"; } export interface ThemeFamilyPreference { family: ThemeFamily; source: "default" | "user-setting"; appId: string | null; } export declare function readStoredThemeFamily(appId?: string | null): StoredThemeFamily; export declare function applyThemeFamily(family: ThemeFamily, appId?: string | null): ThemeFamilyApplyResult; export interface ThemeFamilyHook { family: ThemeFamily; status: "loading" | "success" | "error"; error?: Error | undefined; storageStatus: ThemeFamilyStorageStatus; isForcedByUrl: boolean; setFamily: (family: ThemeFamily) => Promise; } export declare function useThemeFamily(): ThemeFamilyHook;