import { JSX } from "./jsx.js"; export const Aliases: Record; export const Properties: Set; export const ChildProperties: Set; export const DelegatedEvents: Set; export const DOMElements: Set; export const SVGElements: Set; export const SVGNamespace: Record; export function getPropAlias(prop: string, tagName: string): string | undefined; type MountableElement = Element | Document | ShadowRoot | DocumentFragment | Node; export function render(code: () => JSX.Element, element: MountableElement): () => void; export function template(html: string, isCE?: boolean, isSVG?: boolean): () => Element; export function effect(fn: (prev?: T) => T, init?: T): void; export function memo(fn: () => T, equal: boolean): () => T; export function untrack(fn: () => T): T; export function insert( parent: MountableElement, accessor: (() => T) | T, marker?: Node | null, init?: JSX.Element ): JSX.Element; export function createComponent(Comp: (props: T) => JSX.Element, props: T): JSX.Element; export function delegateEvents(eventNames: string[], d?: Document): void; export function clearDelegatedEvents(d?: Document): void; export function spread( node: Element, accessor: (() => T) | T, isSVG?: Boolean, skipChildren?: Boolean ): void; export function assign(node: Element, props: any, isSVG?: Boolean, skipChildren?: Boolean): void; export function setAttribute(node: Element, name: string, value: string): void; export function setAttributeNS(node: Element, namespace: string, name: string, value: string): void; export function className(node: Element, value: string): void; export function innerHTML(node: Element, content: string): void; export function addEventListener( node: Element, name: string, handler: () => void, delegate: boolean ): void; export function classList( node: Element, value: { [k: string]: boolean }, prev?: { [k: string]: boolean } ): void; export function style( node: Element, value: { [k: string]: string }, prev?: { [k: string]: string } ): void; export function getOwner(): unknown; export function mergeProps(...sources: unknown[]): unknown; export function dynamicProperty(props: unknown, key: string): unknown; export function hydrate( fn: () => JSX.Element, node: MountableElement, options?: { renderId?: string, owner?: unknown } ): () => void; export function getHydrationKey(): string; export function getNextElement(template?: HTMLTemplateElement): Element; export function getNextMatch(start: Node, elementName: string): Element; export function getNextMarker(start: Node): [Node, Array]; export function useAssets(fn: () => JSX.Element): void; export function getAssets(): string; export function HydrationScript(): JSX.Element; export function generateHydrationScript(): string; export function Assets(props: { children?: JSX.Element }): JSX.Element; export function Hydration(props: { children?: JSX.Element }): JSX.Element; export function NoHydration(props: { children?: JSX.Element }): JSX.Element;