import type { StdEltProps } from "../common"; import type { ComponentElement, ProperElement } from "./common"; /** Generates a stable instance id for a component element in a specific position */ export declare function getCompInstanceId

(args: { elt: ComponentElement

; position: UITreePosition; }): string; /** Generates a stable html id for a proper element in a specific position */ export declare function getEffectiveHtmlId

(args: { elt: ProperElement

; position?: UITreePosition; }): string | undefined; /** Extracts the HTML element id from a component instance id */ export declare function instanceToHtmlId(compInstanceId: string): string; /** Set html id on a proper element, if passed, and not already set */ export declare function injectHtmlId(elt: Elt, htmlId?: string): Elt; export declare const INITIAL_UI_TREE_POSITION: { parentChildPath: never[]; siblingOrdinalIndex: number; intrinsificationIndex: number; }; export type UITreePosition = { /** Array of sibling indexes indicating path from root to parent element in UI tree */ parentChildPath: number[]; siblingOrdinalIndex: number; intrinsificationIndex: number; };