/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ import type { StyleXStyles, StyleXStylesWithout, StaticStyles, Theme, VarGroup } from '@stylexjs/stylex'; import type * as $$IMPORT_TYPEOF_1$$ from '@stylexjs/stylex'; type TStyleX = typeof $$IMPORT_TYPEOF_1$$; import * as React from 'react'; import * as compat from './compat'; import * as html from './html'; import { ProvideViewportScale, useViewportScale } from './modules/ContextViewportScale'; type StyleTheme = Theme; type StyleVars = VarGroup; type Styles = StyleXStyles; type StylesWithout = StyleXStylesWithout; type ProviderValue = Readonly<{ [$$Key$$: string]: string | number }>; type ProviderProps = Readonly<{ children: React.ReactNode; customProperties: ProviderValue; }>; export type { StaticStyles, StyleTheme, StyleVars, Styles, StylesWithout }; declare function ThemeProvider(props: ProviderProps): React.ReactNode; declare const contexts: { ThemeProvider: typeof ThemeProvider; ViewportProvider: typeof ProvideViewportScale; }; declare const css: TStyleX; export { compat, contexts, css, html, useViewportScale as useViewportScale_DO_NOT_USE };