import { ChatTheme } from '../Theme'; /** * Returns the active {@link ChatTheme}. Inside `Chat` this is the resolved theme * shared through context (defaults merged with `theme` / `darkTheme` overrides), * so switching the theme prop or the system color scheme at runtime updates * every consumer. Used standalone (outside `Chat`), it falls back to the * built-in defaults for the current system color scheme. */ export declare function useTheme(): ChatTheme; /** * DRY helper for theme-aware StyleSheets. Pass a module-level factory that maps * a theme to a `StyleSheet.create(...)` result; the styles are memoized on the * theme, so they are rebuilt only when the theme actually changes. * * @example * const createStyles = (theme: ChatTheme) => StyleSheet.create({ ... }) * // inside a component: * const styles = useThemedStyles(createStyles) */ export declare function useThemedStyles(factory: (theme: ChatTheme) => T): T; //# sourceMappingURL=useTheme.d.ts.map