import type { ReactElement, RefObject } from 'react'; import type { ThemeStore } from './internal'; import type { Theme } from './theme'; export declare function useThemeValues( ref: RefObject, cssProperties: Record, maybeStore?: ThemeStore ): Partial> | undefined; export type WithThemeValuesProps = { properties: Record children: (ref: RefObject, values?: Partial>) => ReactElement }; export declare function WithThemeValues({ properties, children, }: WithThemeValuesProps): ReactElement; type ThemedMedia = Record | undefined>; type ThemedMediaResult = { [K in keyof T]: ThemedMediaEntry; }; type ThemedMediaEntry = ValueOf> | (undefined extends T[K] ? undefined : never); type ValueOf = T[keyof T]; export declare function useThemedMedia(media: T, maybeStore?: ThemeStore): ThemedMediaResult | undefined; export type WithThemedMediaProps = { media: T children: (values?: ThemedMediaResult) => ReactElement }; export declare function WithThemedMedia({ media, children, }: WithThemedMediaProps): ReactElement; export {};