/** * Generic theme resolution: deep-merges a template's defaultTheme with the user theme from Core. * Immutable — never mutates inputs. * resolveTheme(defaultTheme, userTheme) → fullyPopulatedTheme */ /** * Returns the resolved theme: defaultTheme deep-merged with user theme. * Use in template components so all styling comes from one source. */ export declare function resolveTheme>(defaultTheme: T, userTheme: unknown): T;