import type { PluginOptions, PluginTarget, TransformOptions } from '@babel/core'; import type { RegisterHookOptions } from './common.js'; export declare const TARGETS_NODE = "24"; export declare const getApiSideBabelPresets: ({ presetEnv }?: { presetEnv: boolean; }) => TransformOptions["presets"]; export type PluginList = PluginShape[]; type PluginShape = [PluginTarget, PluginOptions, undefined | string] | [PluginTarget, PluginOptions]; export declare const getApiSideBabelPlugins: ({ openTelemetry, projectIsEsm, }?: { openTelemetry?: boolean | undefined; projectIsEsm?: boolean | undefined; }) => ([PluginTarget, PluginOptions, string | undefined] | [PluginTarget, PluginOptions])[]; export declare const getApiSideBabelConfigPath: () => string | undefined; export declare const getApiSideBabelOverrides: ({ projectIsEsm, forJest, }?: { projectIsEsm?: boolean | undefined; forJest?: boolean | undefined; }) => TransformOptions[]; export declare const getApiSideDefaultBabelConfig: ({ projectIsEsm, forJest, }?: { projectIsEsm?: boolean | undefined; forJest?: boolean | undefined; }) => { presets: import("@babel/core").PluginItem[] | null | undefined; plugins: ([PluginTarget, PluginOptions, string | undefined] | [PluginTarget, PluginOptions])[]; overrides: TransformOptions[]; extends: string | undefined; babelrc: boolean; ignore: string[]; }; export declare const registerApiSideBabelHook: ({ plugins, ...rest }?: RegisterHookOptions) => void; export declare const transformWithBabel: (sourceCode: string, filename: string, plugins: TransformOptions["plugins"], sourceMaps?: TransformOptions["sourceMaps"]) => Promise; export {}; //# sourceMappingURL=api.d.ts.map