@designcombo/state 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,6 @@
1
+ import { default as StateManager } from '.';
2
+
3
+ declare function handleStateEvents(state: StateManager): {
4
+ unsubscribe: () => void;
5
+ };
6
+ export default handleStateEvents;
package/dist/index.d.ts CHANGED
@@ -1,18 +1 @@
1
- import { ITimelineScaleState, ITrack, ITrackItem, ITransition, State as iState } from '@designcombo/types';
2
-
3
- declare class State implements iState {
4
- tracks: ITrack[];
5
- trackItemsMap: Record<string, ITrackItem>;
6
- trackItemIds: string[];
7
- transitionIds: string[];
8
- transitionsMap: Record<string, ITransition>;
9
- scale: ITimelineScaleState;
10
- duration: number;
11
- activeIds: string[];
12
- targetIds: string[];
13
- notify(): void;
14
- selectItem(): void;
15
- getCurrentTime(): number;
16
- getTargetIds(): string[];
17
- }
18
- export default State;
1
+ export { default } from './state';