import { type ISeparators } from "@gooddata/sdk-model"; import { type ICustomTooltipConfig, type ITooltipLocalizedStrings } from "@gooddata/sdk-ui-vis-commons"; import { type ITooltipReferenceMaps } from "../registry/adapterTypes.js"; import { type IGeoLayerTooltipLookup } from "./customTooltipExecution.js"; interface ICustomTooltipPieces { /** Wrapped `
…
` or "" if disabled/empty. */ sectionHtml: string; /** Wrapped `
` or "" if no separator should render. */ separatorHtml: string; } /** * Build the custom-tooltip section + separator HTML pieces for a hovered feature. * * The caller decides how to splice the pieces into the surrounding tooltip body * based on `customConfig.placement` (above / below / replace). * * @internal */ export declare function buildCustomTooltipPieces(properties: GeoJSON.GeoJsonProperties, customConfig: ICustomTooltipConfig | undefined, referenceMaps: ITooltipReferenceMaps | undefined, separators: ISeparators | undefined, localizedStrings: ITooltipLocalizedStrings, tooltipLookup?: IGeoLayerTooltipLookup): ICustomTooltipPieces; /** * Splice custom-tooltip pieces into the default tooltip body. * * - `above` (default): custom section above the default items. * - `below`: custom section below the default items. * - `replace`: custom section replaces the default items entirely (interaction * message stays since it's a behavioral hint, not data content). * * `defaultItemsHtml` is the rendered default items (locationName / size / * color / segment / measures) — not the interaction message. The caller * appends `interactionHtml` after this function returns. * * @internal */ export declare function composeTooltipBody(defaultItemsHtml: string, pieces: ICustomTooltipPieces, placement: ICustomTooltipConfig["placement"] | undefined): string; export {}; //# sourceMappingURL=customTooltipSection.d.ts.map