| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | */ |
| 7 | |
| 8 | export {runBabelPluginReactCompiler} from './Babel/RunReactCompilerBabelPlugin'; |
| 9 | export { |
| 10 | CompilerError, |
| 11 | CompilerErrorDetail, |
| 12 | CompilerDiagnostic, |
| 13 | CompilerSuggestionOperation, |
| 14 | type CompilerSuggestion, |
| 15 | ErrorSeverity, |
| 16 | ErrorCategory, |
| 17 | LintRules, |
| 18 | LintRulePreset, |
| 19 | type CompilerErrorDetailOptions, |
| 20 | type CompilerDiagnosticOptions, |
| 21 | type CompilerDiagnosticDetail, |
| 22 | type LintRule, |
| 23 | } from './CompilerError'; |
| 24 | export { |
| 25 | compileFn as compile, |
| 26 | compileProgram, |
| 27 | parsePluginOptions, |
| 28 | OPT_OUT_DIRECTIVES, |
| 29 | OPT_IN_DIRECTIVES, |
| 30 | ProgramContext, |
| 31 | tryFindDirectiveEnablingMemoization as findDirectiveEnablingMemoization, |
| 32 | findDirectiveDisablingMemoization, |
| 33 | defaultOptions, |
| 34 | type CompilerPipelineValue, |
| 35 | type Logger, |
| 36 | type LoggerEvent, |
| 37 | type PluginOptions, |
| 38 | type CompileSuccessEvent, |
| 39 | } from './Entrypoint'; |
| 40 | export { |
| 41 | Effect, |
| 42 | ValueKind, |
| 43 | ValueReason, |
| 44 | printHIR, |
| 45 | printFunctionWithOutlined, |
| 46 | validateEnvironmentConfig, |
| 47 | type EnvironmentConfig, |
| 48 | type ExternalFunction, |
| 49 | type Hook, |
| 50 | type SourceLocation, |
| 51 | } from './HIR'; |
| 52 | export { |
| 53 | printReactiveFunction, |
| 54 | printReactiveFunctionWithOutlined, |
| 55 | } from './ReactiveScopes'; |
| 56 | export {parseConfigPragmaForTests} from './Utils/TestUtils'; |
| 57 | declare global { |
| 58 | // @internal |
| 59 | let __DEV__: boolean | null | undefined; |
| 60 | } |
| 61 | |
| 62 | import BabelPluginReactCompiler from './Babel/BabelPlugin'; |
| 63 | export default BabelPluginReactCompiler; |