import { TransformState } from '../../state/types'; import * as t from '@babel/types'; import type { NodePath } from '@babel/traverse'; import type { JsxChildren } from '@generaltranslation/format/types'; /** * Given a translation component, validate the arguments */ export declare function validateTranslationComponentArgs(callExprPath: NodePath, canonicalName: string, state: TransformState): { errors: string[]; _hash?: string; id?: string; context?: string; maxChars?: number; requiresReview?: boolean; children?: JsxChildren; hasDeriveContext?: boolean; hasDeriveChildren?: boolean; }; /** * Validate that the children property is a string literal */ export declare function validateChildrenProperty(argsPath: NodePath, state: TransformState): { errors: string[]; value?: JsxChildren; hasAutoderive?: boolean; containsDerive?: boolean; }; //# sourceMappingURL=validateTranslationComponentArgs.d.ts.map