import React, { type MutableRefObject, type ReactNode } from 'react'; import type { DivOverlay, DivOverlayHook } from './div-overlay.js'; import type { LeafletElement } from './element.js'; declare type ElementHook = (props: P) => MutableRefObject>; export declare type PropsWithChildren = { children?: ReactNode; }; export declare function createContainerComponent(useElement: ElementHook): React.ForwardRefExoticComponent & React.RefAttributes>; export declare function createDivOverlayComponent(useElement: ReturnType>): React.ForwardRefExoticComponent & React.RefAttributes>; export declare function createLeafComponent(useElement: ElementHook): React.ForwardRefExoticComponent & React.RefAttributes>; export {};