import { JsxChildren } from '@generaltranslation/format/types'; import { TransformState } from '../../state/types'; import * as t from '@babel/types'; import type { NodePath } from '@babel/traverse'; import { IdObject } from './utils/id'; import { JsxValidationError } from './errors'; /** * Given the children of a component, constructs a JsxChildren object. * Takes an Expression path. * * ONLY does JsxChildren construction + validation, no further processing on any children. * * On invalid children, quit immediately. * * The node checks intentionally happen before navigating with .get(). This * keeps runtime validation behavior stable while preserving NodePath scope for * future derivation work. */ export declare function constructJsxChildren(childrenPath: NodePath | undefined, state: TransformState, id?: IdObject): { errors: JsxValidationError[]; value?: JsxChildren; containsDerive?: boolean; }; //# sourceMappingURL=constructJsxChildren.d.ts.map