import * as React from 'react'; import type { PluginContribution } from '../../../../plugins/host/provider'; export type LegendContribution = PluginContribution<'viewer.legends'>; /** Identifies a legend across plugins, which may each reuse the same registration id. */ export declare const legendKey: (registration: LegendContribution) => string; export interface PluginLegendSectionProps { registration: LegendContribution; config?: Record; onActiveChange?: (key: string, active: boolean) => void; /** False runs the legend's hook for its `active` report only, drawing nothing. */ renderBody?: boolean; /** Hides the title, for a legend nested under a row that already names it. */ showTitle?: boolean; } export declare function PluginLegendSection({ registration, config, ...rest }: PluginLegendSectionProps): React.JSX.Element; //# sourceMappingURL=PluginLegendSection.d.ts.map