kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
11 lines (10 loc) • 845 B
TypeScript
import { ValueOf } from '@kepler.gl/types';
import { VisState, Merger, PostMergerPayload } from '@kepler.gl/schemas';
export declare function isValidMerger(merger: Merger<any>): boolean;
export declare function mergeStateFromMergers<State extends VisState>(state: State, initialState: State, mergers: Merger<any>[], postMergerPayload: PostMergerPayload): {
mergedState: State;
allMerged: boolean;
};
export declare function hasPropsToMerge<State extends {}>(state: State, mergerProps: string | string[]): boolean;
export declare function getPropValueToMerger<State extends {}>(state: State, mergerProps: string | string[], toMergeProps?: string | string[]): Partial<State> | ValueOf<State>;
export declare function resetStateToMergeProps<State extends VisState>(state: State, initialState: State, mergerProps: string | string[]): State;