import * as React from 'react'; export interface CompositeListRegistration { metadata: Metadata | null; index: number | null; label: string | null | undefined; textRef: React.RefObject | undefined; } export interface CompositeListContextValue { register: (node: Element, registration: CompositeListRegistration) => void; unregister: (node: Element) => void; subscribeMapChange: (fn: (map: Map) => void) => () => void; nextIndexRef: React.RefObject; } export declare const CompositeListContext: React.Context>; export declare function useCompositeListContext(): CompositeListContextValue;