import { Api, RedbudBaseConfig } from '../types'; import type { BundlessConfig } from './config'; export declare function addSourceMappingUrl(code: string, loc: string): string; export declare function getIsLTRReact17(pkg: Api['pkg']): boolean; export declare function getBaseTransformReactOpts(pkg: Api['pkg']): Record; export declare function getBabelPresetReactOpts(pkg: Api['pkg']): { [x: string]: any; }; export declare function getSWCTransformReactOpts(pkg: Api['pkg']): { [x: string]: any; }; export declare function ensureRelativePath(relativePath: string): string; export declare function getBundleTargets({ targets }: RedbudBaseConfig): any; export declare function getBundlessTargets(config: BundlessConfig): any;