first commit

This commit is contained in:
2026-01-09 23:05:52 -05:00
commit dec0c8e4e4
4203 changed files with 824454 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import type { AlternativeContainerNode, Node, ParentNode, QuantifiableNode } from './parse.js';
type KeysOfUnion<T> = T extends T ? keyof T : never;
type Props = {
[key in KeysOfUnion<Node>]?: any;
} & {
type?: Node['type'];
};
declare function hasOnlyChild(node: ParentNode & {
body: Array<Node>;
}, props?: Props): boolean;
declare function isAlternativeContainer(node: Node): node is AlternativeContainerNode;
declare function isQuantifiable(node: Node): node is QuantifiableNode;
export { hasOnlyChild, isAlternativeContainer, isQuantifiable, };
//# sourceMappingURL=node-utils.d.ts.map