import * as React from 'react'; import type { LegendContribution } from './PluginLegendSection'; import type { ViewerNames } from '../../../../types/dbTypes'; export interface PluginLegends { registrations: LegendContribution[]; configs: Record>; isActive: (registration: LegendContribution) => boolean; /** Render once: keeps every legend's hook running, and its `active` known, while no card shows it. */ probes: React.ReactNode; } /** The `viewer.legends` that belong in `viewer`, and which of them currently have something to say. */ export declare function usePluginLegends(viewer: ViewerNames): PluginLegends; //# sourceMappingURL=usePluginLegends.d.ts.map