UNPKG

1.22 kBTypeScriptView Raw
1export interface ParseTrackNameResults {
2 nodeName: string;
3 objectName: string;
4 objectIndex: string;
5 propertyName: string;
6 propertyIndex: string;
7}
8
9declare class Composite {
10 constructor(targetGroup: any, path: any, parsedPath?: any);
11
12 getValue(array: any, offset: number): any;
13 setValue(array: any, offset: number): void;
14 bind(): void;
15 unbind(): void;
16}
17
18declare class PropertyBinding {
19 constructor(rootNode: any, path: string, parsedPath?: any);
20
21 path: string;
22 parsedPath: any;
23 node: any;
24 rootNode: any;
25
26 getValue(targetArray: any, offset: number): any;
27 setValue(sourceArray: any, offset: number): void;
28 bind(): void;
29 unbind(): void;
30
31 BindingType: { [bindingType: string]: number };
32 Versioning: { [versioning: string]: number };
33
34 GetterByBindingType: Array<() => void>;
35 SetterByBindingTypeAndVersioning: Array<Array<() => void>>;
36
37 static create(root: any, path: any, parsedPath?: any): PropertyBinding | Composite;
38 static sanitizeNodeName(name: string): string;
39 static parseTrackName(trackName: string): ParseTrackNameResults;
40 static findNode(root: any, nodeName: string): any;
41}
42
43export { PropertyBinding };