/** * Check if `node` is an element and has a `name` property. * * @template {string} Key * Type of key. * @param {Nodes} node * Node to check (typically `Element`). * @param {Key} name * Property name to check. * @returns {node is Element & {properties: Record | number | string | true>}}} * Whether `node` is an element that has a `name` property. * * Note: see . */ export function hasProperty(node: Nodes, name: Key): node is import("hast").Element & { properties: Record; }; export type Element = import('hast').Element; export type Nodes = import('hast').Nodes;