UNPKG

@meonode/ui

Version:

A structured approach to component composition with built-in theming, prop separation, and dynamic children handling.

873 lines 42.6 kB
import type { NodeElement, NodeProps } from './node.type.js'; /** * Represents a div element. * @param props Optional properties for the div element. * @returns A div element node. */ export declare const Div: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">; /** * Represents a root div element with full viewport dimensions and column flex layout. * By default, applies flex column layout and 100% viewport dimensions. * @param props Optional properties for the root div element that merge with defaults. * @returns A div element node configured as root container. * @example * Root({ * backgroundColor: 'white', * children: [Header(), Main(), Footer()] * }) */ export declare const Root: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">; /** * Represents a column layout using flexbox. * @param props Optional properties for the column layout. * @returns A div element node with flexbox column layout. */ export declare const Column: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">; /** * Represents a row layout using flexbox. * @param props Optional properties for the row layout. * @returns A div element node with flexbox row layout. */ export declare const Row: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">; /** * Represents a grid layout. * @param props Optional properties for the grid layout. * @returns A div element node with grid layout. */ export declare const Grid: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">; /** * Represents a centered container with flexbox alignment. * By default, centers content both horizontally and vertically. * @param props Optional properties for the div element. * @returns A div element node configured for centered content. */ export declare const Center: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">; /** * Represents a fixed positioned element. * @param props Optional properties for the fixed positioned element. * @returns A div element node with fixed positioning. */ export declare const Fixed: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">; /** * Represents a relatively positioned element. * @param props Optional properties for the relatively positioned element. * @returns A div element node with relative positioning. */ export declare const Relative: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">; /** * Represents an absolutely positioned element. * @param props Optional properties for the absolutely positioned element. * @returns A div element node with absolute positioning. */ export declare const Absolute: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">; /** * Represents a sticky positioned element. * @param props Optional properties for the sticky positioned element. * @returns A div element node with sticky positioning. */ export declare const Sticky: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">; /** * Represents a statically positioned element. * @param props Optional properties for the statically positioned element. * @returns A div element node with static positioning. */ export declare const Static: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">; /** * Creates an h1 heading element node. * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading. * @param props Optional properties for the h1 element. * @returns An h1 element node. */ export declare const H1: (children: NodeElement, props?: Omit<NodeProps<"h1">, "children">) => import("./node.type.js").NodeInstance<"h1">; /** * Creates an h2 heading element node. * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading. * @param props Optional properties for the h2 element. * @returns An h2 element node. */ export declare const H2: (children: NodeElement, props?: Omit<NodeProps<"h2">, "children">) => import("./node.type.js").NodeInstance<"h2">; /** * Creates an h3 heading element node. * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading. * @param props Optional properties for the h3 element. * @returns An h3 element node. */ export declare const H3: (children: NodeElement, props?: Omit<NodeProps<"h3">, "children">) => import("./node.type.js").NodeInstance<"h3">; /** * Creates an h4 heading element node. * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading. * @param props Optional properties for the h4 element. * @returns An h4 element node. */ export declare const H4: (children: NodeElement, props?: Omit<NodeProps<"h4">, "children">) => import("./node.type.js").NodeInstance<"h4">; /** * Creates an h5 heading element node. * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading. * @param props Optional properties for the h5 element. * @returns An h5 element node. */ export declare const H5: (children: NodeElement, props?: Omit<NodeProps<"h5">, "children">) => import("./node.type.js").NodeInstance<"h5">; /** * Creates an h6 heading element node. * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading. * @param props Optional properties for the h6 element. * @returns An h6 element node. */ export declare const H6: (children: NodeElement, props?: Omit<NodeProps<"h6">, "children">) => import("./node.type.js").NodeInstance<"h6">; /** * Creates a strong element node for important text. * @param children The content to be rendered within the element (text, numbers, components, etc) to emphasize. * @param props Optional properties for the strong element. * @returns A strong element node. */ export declare const Strong: (children: NodeElement, props?: Omit<NodeProps<"strong">, "children">) => import("./node.type.js").NodeInstance<"strong">; /** * Creates an em element node for emphasized text. * @param children The content to be rendered within the element (text, numbers, components, etc) to emphasize. * @param props Optional properties for the em element. * @returns An em element node. */ export declare const Em: (children: NodeElement, props?: Omit<NodeProps<"em">, "children">) => import("./node.type.js").NodeInstance<"em">; /** * Creates a small element node for side-comments and small print. * @param children The content to be rendered within the element (text, numbers, components, etc). * @param props Optional properties for styling and configuring the small element. * @returns A small element node that can be rendered in React. */ export declare const Small: (children: NodeElement, props?: Omit<NodeProps<"small">, "children">) => import("./node.type.js").NodeInstance<"small">; /** * Creates a mark element node for highlighted text. * @param children The content to be rendered within the element (text, numbers, components, etc) to highlight. * @param props Optional properties for the mark element. * @returns A mark element node. */ export declare const Mark: (children: NodeElement, props?: Omit<NodeProps<"mark">, "children">) => import("./node.type.js").NodeInstance<"mark">; /** * Creates a span element node. * @param children The content to be rendered within the element (text, numbers, components, etc) for the span. * @param props Optional properties for the span element. * @returns A span element node. */ export declare const Span: (children: NodeElement, props?: Omit<NodeProps<"span">, "children">) => import("./node.type.js").NodeInstance<"span">; /** * Creates a paragraph element node. * @param children The content to be rendered within the element (text, numbers, components, etc) for the paragraph. * @param props Optional properties for the p element. * @returns A paragraph element node. */ export declare const P: (children: NodeElement, props?: Omit<NodeProps<"p">, "children">) => import("./node.type.js").NodeInstance<"p">; /** * Creates a preformatted text element node. * @param children The content to be rendered within the element (text, numbers, components, etc) for the pre element. * @param props Optional properties for the pre element. * @returns A pre element node. */ export declare const Pre: (children: NodeElement, props?: Omit<NodeProps<"pre">, "children">) => import("./node.type.js").NodeInstance<"pre">; /** * Creates a code element node for displaying code snippets. * @param children The content to be rendered within the element (text, numbers, components, etc) for the code. * @param props Optional properties for the code element. * @returns A code element node. */ export declare const Code: (children: NodeElement, props?: Omit<NodeProps<"code">, "children">) => import("./node.type.js").NodeInstance<"code">; /** * Represents a line break element. * @param props Optional properties for the br element. * @returns A br element node. */ export declare const Br: (props?: Omit<NodeProps<"br">, "children">) => import("./node.type.js").NodeInstance<"br">; /** * Represents an ordered list. * @param props Optional properties for the ol element. * @returns An ol element node. */ export declare const Ol: (props?: NodeProps<"ol">) => import("./node.type.js").NodeInstance<"ol">; /** * Represents an unordered list. * @param props Optional properties for the ul element. * @returns A ul element node. */ export declare const Ul: (props?: NodeProps<"ul">) => import("./node.type.js").NodeInstance<"ul">; /** * Represents a list item. * @param props Optional properties for the li element. * @returns An li element node. */ export declare const Li: (props?: NodeProps<"li">) => import("./node.type.js").NodeInstance<"li">; /** * Represents a description list. * @param props Optional properties for the dl element. * @returns A dl element node. */ export declare const Dl: (props?: NodeProps<"dl">) => import("./node.type.js").NodeInstance<"dl">; /** * Represents a term in a description list. * @param props Optional properties for the dt element. * @returns A dt element node. */ export declare const Dt: (props?: NodeProps<"dt">) => import("./node.type.js").NodeInstance<"dt">; /** * Represents a description in a description list. * @param props Optional properties for the dd element. * @returns A dd element node. */ export declare const Dd: (props?: NodeProps<"dd">) => import("./node.type.js").NodeInstance<"dd">; /** * Represents an HTML form. * @param props Optional properties for the form element. * @returns A form element node. */ export declare const Form: (props?: NodeProps<"form">) => import("./node.type.js").NodeInstance<"form">; /** * Represents a label for an input element. * @param props Optional properties for the label element. * @returns A label element node. */ export declare const Label: (props?: NodeProps<"label">) => import("./node.type.js").NodeInstance<"label">; /** * Represents an input element. * @param props Optional properties for the input element. * @returns An input element node. */ export declare const Input: (props?: Omit<NodeProps<"input">, "children">) => import("./node.type.js").NodeInstance<"input">; /** * Creates a button element node. * @param children The content to be rendered within the element (text, numbers, components, etc) for the button. * @param props Optional properties for the button element. * @returns A button element node. */ export declare const Button: (children: NodeElement, props?: Omit<NodeProps<"button">, "children">) => import("./node.type.js").NodeInstance<"button">; /** * Represents a textarea element for multiline text input. * @param props Optional properties for the textarea element. * @returns A textarea element node. */ export declare const Textarea: (props?: NodeProps<"textarea">) => import("./node.type.js").NodeInstance<"textarea">; /** * Represents a select dropdown element. * @param props Optional properties for the select element. * @returns A select element node. */ export declare const Select: (props?: NodeProps<"select">) => import("./node.type.js").NodeInstance<"select">; /** * Represents an option within a select element. * @param children The content to be rendered within the element (text, numbers, components, etc) for the option. * @param props Optional properties for the option element. * @returns An option element node. */ export declare const Option: (children: NodeElement, props?: Omit<NodeProps<"option">, "children">) => import("./node.type.js").NodeInstance<"option">; /** * Represents a fieldset element for grouping form elements. * @param props Optional properties for the fieldset element. * @returns A fieldset element node. */ export declare const Fieldset: (props?: NodeProps<"fieldset">) => import("./node.type.js").NodeInstance<"fieldset">; /** * Represents a legend for a fieldset. * @param children The content to be rendered within the element (text, numbers, components, etc) for the legend. * @param props Optional properties for the legend element. * @returns A legend element node. */ export declare const Legend: (children: NodeElement, props?: Omit<NodeProps<"legend">, "children">) => import("./node.type.js").NodeInstance<"legend">; /** * Represents an option group within a select element. * @param props Optional properties for the optgroup element. * @returns An optgroup element node. */ export declare const Optgroup: (props?: NodeProps<"optgroup">) => import("./node.type.js").NodeInstance<"optgroup">; /** * Represents a table element. * @param props Optional properties for the table element. * @returns A table element node. */ export declare const Table: (props?: NodeProps<"table">) => import("./node.type.js").NodeInstance<"table">; /** * Represents a table header section. * @param props Optional properties for the thead element. * @returns A thead element node. */ export declare const Thead: (props?: NodeProps<"thead">) => import("./node.type.js").NodeInstance<"thead">; /** * Represents a table body section. * @param props Optional properties for the tbody element. * @returns A tbody element node. */ export declare const Tbody: (props?: NodeProps<"tbody">) => import("./node.type.js").NodeInstance<"tbody">; /** * Represents a table footer section. * @param props Optional properties for the tfoot element. * @returns A tfoot element node. */ export declare const Tfoot: (props?: NodeProps<"tfoot">) => import("./node.type.js").NodeInstance<"tfoot">; /** * Represents a table row. * @param props Optional properties for the tr element. * @returns A tr element node. */ export declare const Tr: (props?: NodeProps<"tr">) => import("./node.type.js").NodeInstance<"tr">; /** * Represents a table header cell. * @param props Optional properties for the th element. * @returns A th element node. */ export declare const Th: (props?: NodeProps<"th">) => import("./node.type.js").NodeInstance<"th">; /** * Represents a table data cell. * @param props Optional properties for the td element. * @returns A td element node. */ export declare const Td: (props?: NodeProps<"td">) => import("./node.type.js").NodeInstance<"td">; /** * Represents a table caption. * @param children The content to be rendered within the element (text, numbers, components, etc) for the caption. * @param props Optional properties for the caption element. * @returns A caption element node. */ export declare const Caption: (children: NodeElement, props?: Omit<NodeProps<"caption">, "children">) => import("./node.type.js").NodeInstance<"caption">; /** * Represents a table column group. * @param props Optional properties for the colgroup element. * @returns A colgroup element node. */ export declare const Colgroup: (props?: NodeProps<"colgroup">) => import("./node.type.js").NodeInstance<"colgroup">; /** * Represents a table column. * @param props Optional properties for the col element. * @returns A col element node. */ export declare const Col: (props?: Omit<NodeProps<"col">, "children">) => import("./node.type.js").NodeInstance<"col">; /** * Represents an image element. * @param props Optional properties for the img element. * @returns An img element node. */ export declare const Img: (props?: Omit<NodeProps<"img">, "children">) => import("./node.type.js").NodeInstance<"img">; /** * Represents a video element. * @param props Optional properties for the video element. * @returns A video element node. */ export declare const Video: (props?: NodeProps<"video">) => import("./node.type.js").NodeInstance<"video">; /** * Represents an audio element. * @param props Optional properties for the audio element. * @returns An audio element node. */ export declare const Audio: (props?: NodeProps<"audio">) => import("./node.type.js").NodeInstance<"audio">; /** * Represents a picture element. * @param props Optional properties for the picture element. * @returns A picture element node. */ export declare const Picture: (props?: NodeProps<"picture">) => import("./node.type.js").NodeInstance<"picture">; /** * Represents a source element. * @param props Optional properties for the source element. * @returns A source element node. */ export declare const Source: (props?: Omit<NodeProps<"source">, "children">) => import("./node.type.js").NodeInstance<"source">; /** * Represents a text track element. * @param props Optional properties for the track element. * @returns A track element node. */ export declare const Track: (props?: Omit<NodeProps<"track">, "children">) => import("./node.type.js").NodeInstance<"track">; /** * Represents a canvas element. * @param props Optional properties for the canvas element. * @returns A canvas element node. */ export declare const Canvas: (props?: NodeProps<"canvas">) => import("./node.type.js").NodeInstance<"canvas">; /** * Represents an iframe element. * @param props Optional properties for the iframe element. * @returns An iframe element node. */ export declare const Iframe: (props?: NodeProps<"iframe">) => import("./node.type.js").NodeInstance<"iframe">; /** * Represents an SVG container element. * @param props Optional properties for the svg element. * @returns An svg element node. */ export declare const Svg: (props?: NodeProps<"svg">) => import("./node.type.js").NodeInstance<"svg">; /** * Represents an SVG path element. * @param props Optional properties for the path element. * @returns A path element node. */ export declare const SvgPath: (props?: NodeProps<"path">) => import("./node.type.js").NodeInstance<"path">; /** * Represents an SVG circle element. * @param props Optional properties for the circle element. * @returns A circle element node. */ export declare const SvgCircle: (props?: NodeProps<"circle">) => import("./node.type.js").NodeInstance<"circle">; /** * Represents an SVG ellipse element. * @param props Optional properties for the ellipse element. * @returns An ellipse element node. */ export declare const SvgEllipse: (props?: NodeProps<"ellipse">) => import("./node.type.js").NodeInstance<"ellipse">; /** * Represents an SVG line element. * @param props Optional properties for the line element. * @returns A line element node. */ export declare const SvgLine: (props?: NodeProps<"line">) => import("./node.type.js").NodeInstance<"line">; /** * Represents an SVG polyline element. * @param props Optional properties for the polyline element. * @returns A polyline element node. */ export declare const SvgPolyline: (props?: NodeProps<"polyline">) => import("./node.type.js").NodeInstance<"polyline">; /** * Represents an SVG polygon element. * @param props Optional properties for the polygon element. * @returns A polygon element node. */ export declare const SvgPolygon: (props?: NodeProps<"polygon">) => import("./node.type.js").NodeInstance<"polygon">; /** * Represents an SVG rectangle element. * @param props Optional properties for the rect element. * @returns A rect element node. */ export declare const SvgRect: (props?: NodeProps<"rect">) => import("./node.type.js").NodeInstance<"rect">; /** * Represents an SVG use element. * @param props Optional properties for the use element. * @returns A use element node. */ export declare const SvgUse: (props?: NodeProps<"use">) => import("./node.type.js").NodeInstance<"use">; /** * Represents an SVG definitions element. * @param props Optional properties for the defs element. * @returns A defs element node. */ export declare const SvgDefs: (props?: NodeProps<"defs">) => import("./node.type.js").NodeInstance<"defs">; /** * Represents an SVG linear gradient element. * @param props Optional properties for the linearGradient element. * @returns A linearGradient element node. */ export declare const SvgLinearGradient: (props?: NodeProps<"linearGradient">) => import("./node.type.js").NodeInstance<"linearGradient">; /** * Represents an SVG radial gradient element. * @param props Optional properties for the radialGradient element. * @returns A radialGradient element node. */ export declare const SvgRadialGradient: (props?: NodeProps<"radialGradient">) => import("./node.type.js").NodeInstance<"radialGradient">; /** * Represents an SVG gradient stop element. * @param props Optional properties for the stop element. * @returns A stop element node. */ export declare const SvgStop: (props?: NodeProps<"stop">) => import("./node.type.js").NodeInstance<"stop">; /** * Represents an SVG symbol element. * @param props Optional properties for the symbol element. * @returns A symbol element node. */ export declare const SvgSymbol: (props?: NodeProps<"symbol">) => import("./node.type.js").NodeInstance<"symbol">; /** * Represents an SVG group element. * @param props Optional properties for the g element. * @returns A g element node. */ export declare const SvgG: (props?: NodeProps<"g">) => import("./node.type.js").NodeInstance<"g">; /** * Represents an SVG text element. * @param props Optional properties for the text element. * @returns A text element node. */ export declare const SvgText: (props?: NodeProps<"text">) => import("./node.type.js").NodeInstance<"text">; /** * Represents an SVG text span element. * @param props Optional properties for the tspan element. * @returns A tspan element node. */ export declare const SvgTspan: (props?: NodeProps<"tspan">) => import("./node.type.js").NodeInstance<"tspan">; /** * Represents an anchor element. * @param props Optional properties for the a element. * @returns An a element node. */ export declare const A: (props?: NodeProps<"a">) => import("./node.type.js").NodeInstance<"a">; /** * Represents a navigation element. * @param props Optional properties for the nav element. * @returns A nav element node. */ export declare const Nav: (props?: NodeProps<"nav">) => import("./node.type.js").NodeInstance<"nav">; /** * Represents the body element of an HTML document. * @param props Optional properties for the body element. * @returns A body element node. */ export declare const Body: (props?: NodeProps<"body">) => import("./node.type.js").NodeInstance<"body">; /** * Represents the main content of a document. * @param props Optional properties for the main element. * @returns A main element node. */ export declare const Main: (props?: NodeProps<"main">) => import("./node.type.js").NodeInstance<"main">; /** * Represents a header element. * @param props Optional properties for the header element. * @returns A header element node. */ export declare const Header: (props?: NodeProps<"header">) => import("./node.type.js").NodeInstance<"header">; /** * Represents a footer element. * @param props Optional properties for the footer element. * @returns A footer element node. */ export declare const Footer: (props?: NodeProps<"footer">) => import("./node.type.js").NodeInstance<"footer">; /** * Represents an aside element. * @param props Optional properties for the aside element. * @returns An aside element node. */ export declare const Aside: (props?: NodeProps<"aside">) => import("./node.type.js").NodeInstance<"aside">; /** * Represents a section element. * @param props Optional properties for the section element. * @returns A section element node. */ export declare const Section: (props?: NodeProps<"section">) => import("./node.type.js").NodeInstance<"section">; /** * Represents an article element. * @param props Optional properties for the article element. * @returns An article element node. */ export declare const Article: (props?: NodeProps<"article">) => import("./node.type.js").NodeInstance<"article">; /** * Represents a figure element. * @param props Optional properties for the figure element. * @returns A figure element node. */ export declare const Figure: (props?: NodeProps<"figure">) => import("./node.type.js").NodeInstance<"figure">; /** * Represents a figure caption element. * @param children The content to be rendered within the element (text, numbers, components, etc) for the figcaption. * @param props Optional properties for the figcaption element. * @returns A figcaption element node. */ export declare const Figcaption: (children: NodeElement, props?: Omit<NodeProps<"figcaption">, "children">) => import("./node.type.js").NodeInstance<"figcaption">; /** * Represents a blockquote element. * @param props Optional properties for the blockquote element. * @returns A blockquote element node. */ export declare const Blockquote: (props?: NodeProps<"blockquote">) => import("./node.type.js").NodeInstance<"blockquote">; /** * Represents an address element. * @param props Optional properties for the address element. * @returns An address element node. */ export declare const Address: (props?: NodeProps<"address">) => import("./node.type.js").NodeInstance<"address">; /** * Represents a dialog element. * @param props Optional properties for the dialog element. * @returns A dialog element node. */ export declare const Dialog: (props?: NodeProps<"dialog">) => import("./node.type.js").NodeInstance<"dialog">; /** * Represents a details element. * @param props Optional properties for the details element. * @returns A details element node. */ export declare const Details: (props?: NodeProps<"details">) => import("./node.type.js").NodeInstance<"details">; /** * Represents a summary element for a details disclosure box. * @param children The content to be rendered within the element (text, numbers, components, etc) for the summary. * @param props Optional properties for the summary element. * @returns A summary element node. */ export declare const Summary: (children: NodeElement, props?: Omit<NodeProps<"summary">, "children">) => import("./node.type.js").NodeInstance<"summary">; /** * Represents a head element. * @param props Optional properties for the head element. * @returns A head element node. */ export declare const Head: (props?: NodeProps<"head">) => import("./node.type.js").NodeInstance<"head">; /** * Represents the root HTML element. * @param props Optional properties for the HTML element. * @returns An HTML element node. */ export declare const Html: (props?: NodeProps<"html">) => import("./node.type.js").NodeInstance<"html">; /** * Represents a meta element. * @param props Optional properties for the meta element. * @returns A meta element node. */ export declare const Meta: (props?: Omit<NodeProps<"meta">, "children">) => import("./node.type.js").NodeInstance<"meta">; /** * Represents a link element. * @param props Optional properties for the link element. * @returns A link element node. */ export declare const Link: (props?: Omit<NodeProps<"link">, "children">) => import("./node.type.js").NodeInstance<"link">; /** * Represents a style element. Its content should be CSS text. * @param cssText Optional CSS code as a string. * @param props Optional properties for the style element. * @returns A style element node. */ export declare const Style: (cssText?: string, props?: Omit<NodeProps<"style">, "children">) => import("./node.type.js").NodeInstance<"style">; /** * Represents a script element. For inline scripts, its content should be JavaScript text. * @param scriptContent Optional JavaScript code as a string for inline scripts. * @param props Optional properties for the script element (e.g., src, type, async, defer). * @returns A script element node. */ export declare const Script: (scriptContent?: string, props?: Omit<NodeProps<"script">, "children">) => import("./node.type.js").NodeInstance<"script">; /** * Creates a title element node for document head title. * @param children The content to be rendered within the element (text, numbers, components, etc) for the title. * @param props Optional properties for the title element. * @returns A title element node. */ export declare const Title: (children: NodeElement, props?: Omit<NodeProps<"title">, "children">) => import("./node.type.js").NodeInstance<"title">; /** * Represents a base element. * @param props Optional properties for the base element. * @returns A base element node. */ export declare const Base: (props?: Omit<NodeProps<"base">, "children">) => import("./node.type.js").NodeInstance<"base">; /** * Represents an abbreviation or acronym. * @param children The content to be rendered within the element (text, numbers, components, etc) for the abbreviation. * @param props Optional properties for the abbr element. * @returns An abbr element node. */ export declare const Abbr: (children: NodeElement, props?: Omit<NodeProps<"abbr">, "children">) => import("./node.type.js").NodeInstance<"abbr">; /** * Represents text that should be stylistically offset from normal prose (traditionally bold). * @param children The content to be rendered within the element (text, numbers, components, etc). * @param props Optional properties for the b element. * @returns A b element node. */ export declare const B: (children: NodeElement, props?: Omit<NodeProps<"b">, "children">) => import("./node.type.js").NodeInstance<"b">; /** * Represents text that is isolated from its surroundings for bidirectional text formatting. * @param children The content to be rendered within the element (text, numbers, components, etc). * @param props Optional properties for the bdi element. * @returns A bdi element node. */ export declare const Bdi: (children: NodeElement, props?: Omit<NodeProps<"bdi">, "children">) => import("./node.type.js").NodeInstance<"bdi">; /** * Overrides the current text directionality. * @param children The content to be rendered within the element (text, numbers, components, etc). * @param props Optional properties for the bdo element. * @returns A bdo element node. */ export declare const Bdo: (children: NodeElement, props?: Omit<NodeProps<"bdo">, "children">) => import("./node.type.js").NodeInstance<"bdo">; /** * Represents the title of a work (e.g., a book, a song, an essay). * @param children The content to be rendered within the element (text, numbers, components, etc) for the citation. * @param props Optional properties for the cite element. * @returns A cite element node. */ export declare const Cite: (children: NodeElement, props?: Omit<NodeProps<"cite">, "children">) => import("./node.type.js").NodeInstance<"cite">; /** * Links a piece of content with a machine-readable translation. * @param children The content to be rendered within the element (text, numbers, components, etc). * @param props Optional properties for the data element. * @returns A data element node. */ export declare const Data: (children: NodeElement, props?: Omit<NodeProps<"data">, "children">) => import("./node.type.js").NodeInstance<"data">; /** * Represents a definition of a term. * @param children The content to be rendered within the element (text, numbers, components, etc) for the definition. * @param props Optional properties for the dfn element. * @returns A dfn element node. */ export declare const Dfn: (children: NodeElement, props?: Omit<NodeProps<"dfn">, "children">) => import("./node.type.js").NodeInstance<"dfn">; /** * Represents text in an alternate voice or mood (traditionally italic). * @param children The content to be rendered within the element (text, numbers, components, etc). * @param props Optional properties for the i element. * @returns An i element node. */ export declare const I: (children: NodeElement, props?: Omit<NodeProps<"i">, "children">) => import("./node.type.js").NodeInstance<"i">; /** * Represents user input (typically keyboard input). * @param children The content to be rendered within the element (text, numbers, components, etc) representing keyboard input. * @param props Optional properties for the kbd element. * @returns A kbd element node. */ export declare const Kbd: (children: NodeElement, props?: Omit<NodeProps<"kbd">, "children">) => import("./node.type.js").NodeInstance<"kbd">; /** * Represents an inline quotation. * @param children The content to be rendered within the element (text, numbers, components, etc) for the quotation. * @param props Optional properties for the q element. * @returns A q element node. */ export declare const Q: (children: NodeElement, props?: Omit<NodeProps<"q">, "children">) => import("./node.type.js").NodeInstance<"q">; /** * Represents fallback parenthesis for ruby annotations. * @param children The content to be rendered within the element (text, numbers, components, etc). * @param props Optional properties for the rp element. * @returns An rp element node. */ export declare const Rp: (children: NodeElement, props?: Omit<NodeProps<"rp">, "children">) => import("./node.type.js").NodeInstance<"rp">; /** * Represents the ruby text component of a ruby annotation. * @param children The content to be rendered within the element (text, numbers, components, etc). * @param props Optional properties for the rt element. * @returns An rt element node. */ export declare const Rt: (children: NodeElement, props?: Omit<NodeProps<"rt">, "children">) => import("./node.type.js").NodeInstance<"rt">; /** * Represents a ruby annotation. * @param props Optional properties for the ruby element. * @returns A ruby element node. */ export declare const Ruby: (props?: NodeProps<"ruby">) => import("./node.type.js").NodeInstance<"ruby">; /** * Represents text that is no longer accurate or relevant (strikethrough). * @param children The content to be rendered within the element (text, numbers, components, etc) to be struck through. * @param props Optional properties for the s element. * @returns An s element node. */ export declare const S: (children: NodeElement, props?: Omit<NodeProps<"s">, "children">) => import("./node.type.js").NodeInstance<"s">; /** * Represents sample output from a computer program. * @param children The content to be rendered within the element (text, numbers, components, etc) representing sample output. * @param props Optional properties for the samp element. * @returns A samp element node. */ export declare const Samp: (children: NodeElement, props?: Omit<NodeProps<"samp">, "children">) => import("./node.type.js").NodeInstance<"samp">; /** * Represents subscript text. * @param children The content to be rendered within the element (text, numbers, components, etc) for the subscript. * @param props Optional properties for the sub element. * @returns A sub element node. */ export declare const Sub: (children: NodeElement, props?: Omit<NodeProps<"sub">, "children">) => import("./node.type.js").NodeInstance<"sub">; /** * Represents superscript text. * @param children The content to be rendered within the element (text, numbers, components, etc) for the superscript. * @param props Optional properties for the sup element. * @returns A sup element node. */ export declare const Sup: (children: NodeElement, props?: Omit<NodeProps<"sup">, "children">) => import("./node.type.js").NodeInstance<"sup">; /** * Represents a specific period in time or a date. * @param children The content to be rendered within the element (text, numbers, components, etc) representing the time/date. * @param props Optional properties for the time element. * @returns A time element node. */ export declare const Time: (children: NodeElement, props?: Omit<NodeProps<"time">, "children">) => import("./node.type.js").NodeInstance<"time">; /** * Represents text that should be rendered with an unarticulated, non-textual annotation (traditionally underline). * @param children The content to be rendered within the element (text, numbers, components, etc) to be underlined. * @param props Optional properties for the u element. * @returns A u element node. */ export declare const U: (children: NodeElement, props?: Omit<NodeProps<"u">, "children">) => import("./node.type.js").NodeInstance<"u">; /** * Represents a variable in a mathematical expression or programming context. * @param children The content to be rendered within the element (text, numbers, components, etc) representing a variable. * @param props Optional properties for the var element. * @returns A var element node. */ export declare const Var: (children: NodeElement, props?: Omit<NodeProps<"var">, "children">) => import("./node.type.js").NodeInstance<"var">; /** * Represents a word break opportunity. This is a void element. * @param props Optional properties for the wbr element. * @returns A wbr element node. */ export declare const Wbr: (props?: Omit<NodeProps<"wbr">, "children">) => import("./node.type.js").NodeInstance<"wbr">; /** * Represents a thematic break between paragraph-level elements (e.g., a scene change in a story, or a shift of topic). This is a void element. * @param props Optional properties for the hr element. * @returns An hr element node. */ export declare const Hr: (props?: Omit<NodeProps<"hr">, "children">) => import("./node.type.js").NodeInstance<"hr">; /** * Represents a group of commands that a user can perform or activate. * @param props Optional properties for the menu element. * @returns A menu element node. */ export declare const Menu: (props?: NodeProps<"menu">) => import("./node.type.js").NodeInstance<"menu">; /** * Represents the parts of a document or application that contain search or filtering controls. * @param props Optional properties for the search element. * @returns A search element node. */ export declare const Search: (props?: NodeProps<"search">) => import("./node.type.js").NodeInstance<"search">; /** * Represents an integration point for an external application or interactive content (a plug-in). This is a void element. * @param props Optional properties for the embed element. * @returns An embed element node. */ export declare const Embed: (props?: Omit<NodeProps<"embed">, "children">) => import("./node.type.js").NodeInstance<"embed">; /** * Represents an external resource, which can be treated as an image, a nested browsing context, or content to be handled by a plugin. * @param props Optional properties for the object element. * @returns An object element node. */ export declare const ObjectElement: (props?: NodeProps<"object">) => import("./node.type.js").NodeInstance<"object">; /** * Defines parameters for an <object> element. This is a void element. * @param props Optional properties for the param element. * @returns A param element node. */ export declare const Param: (props?: Omit<NodeProps<"param">, "children">) => import("./node.type.js").NodeInstance<"param">; /** * Represents an image map, with clickable areas. * @param props Optional properties for the map element. * @returns A map element node. */ export declare const MapElement: (props?: NodeProps<"map">) => import("./node.type.js").NodeInstance<"map">; /** * Defines a client-side image map area. This is a void element. * @param props Optional properties for the area element. * @returns An area element node. */ export declare const Area: (props?: Omit<NodeProps<"area">, "children">) => import("./node.type.js").NodeInstance<"area">; /** * Contains a set of <option> elements that represent predefined options for other controls. * @param props Optional properties for the datalist element. * @returns A datalist element node. */ export declare const Datalist: (props?: NodeProps<"datalist">) => import("./node.type.js").NodeInstance<"datalist">; /** * Represents the result of a calculation or user action. * @param props Optional properties for the output element. * @returns An output element node. */ export declare const Output: (props?: NodeProps<"output">) => import("./node.type.js").NodeInstance<"output">; /** * Displays an indicator showing the completion progress of a task, typically displayed as a progress bar. * @param props Optional properties for the progress element. * @returns A progress element node. */ export declare const Progress: (props?: NodeProps<"progress">) => import("./node.type.js").NodeInstance<"progress">; /** * Represents either a scalar value within a known range or a fractional value. * @param props Optional properties for the meter element. * @returns A meter element node. */ export declare const Meter: (props?: NodeProps<"meter">) => import("./node.type.js").NodeInstance<"meter">; /** * Defines a section of HTML to be inserted if a script type on the page is unsupported or if scripting is currently turned off in the browser. * @param props Optional properties for the noscript element. * @returns A noscript element node. */ export declare const Noscript: (props?: NodeProps<"noscript">) => import("./node.type.js").NodeInstance<"noscript">; /** * A mechanism for holding HTML that is not to be rendered immediately when a page is loaded but may be instantiated subsequently during runtime using JavaScript. * @param props Optional properties for the template element. * @returns A template element node. */ export declare const Template: (props?: NodeProps<"template">) => import("./node.type.js").NodeInstance<"template">; /** * Represents a heading group. It is used to group a set of <h1>–<h6> elements. * @param props Optional properties for the hgroup element. * @returns An hgroup element node. */ export declare const Hgroup: (props?: NodeProps<"hgroup">) => import("./node.type.js").NodeInstance<"hgroup">; //# sourceMappingURL=html.node.d.ts.map