import { ComponentType } from 'react'; import { FieldProps, MultiSchemaFieldTemplateProps } from '@rjsf/utils'; export type SchemaSelections = { choices: Map; rows: Map; scope: string; arrayScope: string; baseId: string; }; export declare const SchemaSelectionContext: import('react').Context; export declare const createSchemaSelections: () => SchemaSelections; export declare const schemaSelectionKey: (selection: SchemaSelections | undefined, id: string) => string; export declare function arrayItemSelections(selection: SchemaSelections | undefined, id: string, itemId: string, index: number, token?: string | undefined): SchemaSelections | undefined; /** Respect registry and per-field template overrides through RJSF's public template resolver. */ export declare function withArraySchemaSelections(Field: ComponentType): (props: FieldProps) => import("react/jsx-runtime").JSX.Element; /** Seed RJSF's own matching/selection state without replaying its data-changing onOptionChange. */ export declare function withRestoredSchemaSelection(Field: ComponentType): (props: FieldProps) => import("react/jsx-runtime").JSX.Element; /** Observe RJSF's public template inputs, not private field state or a second branch selector. */ export declare function withSchemaSelections(Template: ComponentType): (props: MultiSchemaFieldTemplateProps) => import("react/jsx-runtime").JSX.Element;