import type { Brand } from "../lib/types.js"; import type { RPath } from "../core/index.js"; export type Id = Brand<"sjsf-id">; export type FieldPath = Brand<"sjsf-path", RPath>; export interface IdentifiableFieldElement { help: {}; "key-input": {}; examples: {}; title: {}; description: {}; errors: {}; oneof: {}; anyof: {}; form: {}; submit: {}; } export type FieldPseudoElement = keyof IdentifiableFieldElement | number; export interface FormIdBuilder { fromPath: (path: FieldPath) => string; } export declare const SJSF_ID_PREFIX = "__sjsf_id_prefix"; export declare const DEFAULT_ID_PREFIX = "root"; export declare function encodePseudoElement(element: FieldPseudoElement): string; export declare function decodePseudoElement(pathElement: RPath[number]): FieldPseudoElement | undefined;