import type { ChartAnyPluginSignature } from "../models/plugin.js"; import type { ChartState } from "../models/chart.js"; type Selector = (state: State) => Result; export type ChartRootSelector = Selector, TSignature['state'][T]>; export type ChartOptionalRootSelector = Selector, TSignature['state'][keyof TSignature['state']] | undefined>; export {};