import React from "react";
/** @monorepo-internal */
export declare function ElementIdProvider({ children }: {
    children: React.ReactNode;
}): React.JSX.Element;
export declare function useElementIdFactory(prefix: string): {
    /**
     * Maps a React useId() string to a stable sequential index (0, 1, 2...).
     * This prevents ID shifting when other components are added/removed from the page.
     */
    getMappedIndex(reactId: string): number;
    releaseIndex(index: number, reactId?: string): void;
    reset(): void;
    getCurrentIndex(): number;
};
