/** * 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 { ReactNativeProps } from '../../types/renderer.native'; import type { CustomProperties } from '../../types/styles'; import type { MutableCustomProperties } from '../../types/styles'; import type { IStyleX } from '../../types/styles'; export declare const __customProperties: MutableCustomProperties; export declare const create: IStyleX['create']; export declare const createTheme: ( baseTokens: Tokens, overrides: CustomProperties ) => CustomProperties; export declare const defineConsts: (constants: { [$$Key$$: string]: string; }) => { [$$Key$$: string]: string }; type Tokens = { [$$Key$$: string]: string }; export declare const defineVars: (tokens: CustomProperties) => Tokens; export declare const firstThatWorks: ( ...values: ReadonlyArray ) => T; type Keyframes = { readonly [key: string]: { readonly [k: string]: string | number }; }; export declare const keyframes: ($$PARAM_0$$: Keyframes) => string; type PositionTry = { readonly [k: string]: string | number }; export declare const positionTry: ($$PARAM_0$$: PositionTry) => string; type ResolveStyleOptions = Readonly<{ active?: null | undefined | boolean; colorScheme: null | undefined | ('light' | 'dark'); customProperties: CustomProperties; focus?: null | undefined | boolean; fontScale: number | void; fontSize?: null | undefined | number; hover?: null | undefined | boolean; inheritedFontSize: null | undefined | number; prefersReducedMotion: boolean; viewportHeight: number; viewportScale: number | void; viewportWidth: number; writingDirection?: (null | undefined | 'ltr') | 'rtl'; }>; export declare function props( this: ResolveStyleOptions, ...style: ReadonlyArray ): ReactNativeProps;