interface BabelPresetConfig { isSsr?: boolean; } export declare function babelPreset(config: BabelPresetConfig): (string | { env: { targets: { node: string; } | undefined; useBuiltIns: string; corejs: string; modules: boolean; bugfixes: boolean; shippedProposals: boolean; }; runtime: { version: string; }; typescript: boolean; react: { runtime: string; }; })[]; /** * Library consumers are responsible for choosing their supported runtimes and * applying polyfills at the application boundary. Keep published library code * modern and only strip TypeScript syntax and transform JSX here. * * @returns Babel preset configuration for published library files. */ export declare function libraryBabelPreset(): (string | { env: boolean; runtime: boolean; typescript: boolean; react: { runtime: string; }; })[]; export {};