export interface ChartStateSource { getSnapshot: () => Snapshot; subscribe: (listener: () => void) => () => void; } /** Subscribe to one model slice without changing the type carried by its handle. */ export declare function useChartState(model: ChartStateSource, selector: (snapshot: Snapshot) => Selected): Selected;