import React, { type ReactNode } from 'react';
import type { LayerTooltipHandler } from '../types/tooltip.js';
/**
 * It returns the tooltip template handler or undefined (tooltip disabled).
 *
 * The template will be the custom one if provided, the default template otherwise.
 * @param children
 * @param layerType
 */
export declare function useTooltipTemplate(children: ReactNode | undefined, layerType: string | React.JSXElementConstructor<unknown>): LayerTooltipHandler | undefined;
