import { PluginObj } from '@babel/core'; type Transport = 'props' | 'attrs' | (string & {}); interface ModuleResolutionCommonJS { type: 'commonJS' | 'haste'; rootDir?: string; themeFileExtension?: null | undefined | string; } interface MOduleResolutionHaste { type: 'haste'; themeFileExtension?: null | undefined | string; } interface ModuleResolutionExperimentalCrossFileParsing { type: 'experimental_crossFileParsing'; rootDir?: string; themeFileExtension?: null | undefined | string; } type ModuleResolution = ModuleResolutionCommonJS | MOduleResolutionHaste | ModuleResolutionExperimentalCrossFileParsing; interface StylexExtendBabelPluginOptions { transport?: Transport; /** * @see {@link https://stylexjs.com/docs/api/configuration/babel-plugin/#aliases} */ aliases?: Record; /** * @default 'x' * @see {@link https://stylexjs.com/docs/api/configuration/babel-plugin/#classnameprefix} */ classNamePrefix?: string; /** * @see {@link https://stylexjs.com/docs/api/configuration/babel-plugin/#unstable_moduleresolution} */ unstable_moduleResolution?: ModuleResolution; } declare function declare(): PluginObj; declare namespace declare { var withOptions: (options: Partial) => (Partial | typeof declare)[]; } declare function withOptions(options: Partial): (Partial | typeof declare)[]; type StylexExtendTransformObject = { (): PluginObj; withOptions: typeof withOptions; }; declare const _default: StylexExtendTransformObject; export { type StylexExtendBabelPluginOptions, type StylexExtendTransformObject, _default as default };