/** A deterministic invalid HTML relationship found in a JSX tree. */
type NestingViolation = Readonly<{
readonly kind: "ancestor" | "parent" | "void-parent";
readonly relatedName?: string;
}>;
/**
* Validate parser-significant HTML parent and ancestor relationships.
*
* This intentionally focuses on relationships that are deterministic from JSX
* alone. Attribute-dependent content models and custom-component output are
* outside its scope.
*/
export declare const getHtmlNestingViolation: (childName: string, ancestorNames: readonly string[], checkVoidParents?: boolean) => NestingViolation | undefined;
export type { NestingViolation };
//# sourceMappingURL=html-jsx-nesting.d.ts.map