import React, { type PropsWithoutRef, type RefObject, type ReactNode } from 'react'; import type { DivOverlay, DivOverlayHook } from './div-overlay.js'; import type { LeafletElement } from './element.js'; type ElementHook = (props: P) => RefObject>; export type PropsWithChildren = PropsWithoutRef<{ 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 {};