import { PluginObj, types as BabelTypes } from '@babel/core'; /** * Normalize JSX text content based on its position among siblings. * * @param text - The raw JSXText value * @param isFirst - Whether this is the first child of the parent element * @param isLast - Whether this is the last child of the parent element * @returns The normalized text, or null if the node should be removed */ export declare function normalizeJsxText(text: string, isFirst: boolean, isLast: boolean): string | null; /** * Babel plugin that converts JSXText nodes into JSXExpressionContainers * with string literals to preserve whitespace. */ export declare function jsxWhitespacePreservePlugin({ types: t }: { types: typeof BabelTypes; }): PluginObj; //# sourceMappingURL=jsx-whitespace-preserve.d.ts.map