forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blissfuljs.d.ts
670 lines (631 loc) · 46.8 KB
/
blissfuljs.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
// Type definitions for bliss
// Project: http://blissfuljs.com/
// Definitions by: François Skorzec <https://github.com/fskorzec>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface Element {
_: BlissNS.BlissBindedElement<Element>;
}
interface Array<T> {
_: BlissNS.BlissBindedArray<T> & BlissNS.BlissCollectionArray<T>;
}
declare namespace BlissNS {
export type BlissDecoratedElement<T> = Element & T;
export type BlissDecoratedArrayElement<T> = Array<T> & BlissNS.BlissCollectionArray<T>;
interface BlissStatic {
<T>(selector: string, context?: Element): BlissDecoratedElement<T>;
classProps: Object;
create(tag: "a"): HTMLAnchorElement;
create(tag: "applet"): HTMLAppletElement;
create(tag: "area"):HTMLAreaElement;
create(tag: "audio"): HTMLAudioElement;
create(tag: "base"): HTMLBaseElement;
create(tag: "basefont"): HTMLBaseFontElement;
create(tag: "blockquote"): HTMLBlockElement;
create(tag: "body"): HTMLBodyElement;
create(tag: "br"): HTMLBRElement;
create(tag: "button"): HTMLButtonElement;
create(tag: "canvas"): HTMLCanvasElement;
create(tag: "datalist"): HTMLDataListElement;
create(tag: "dd"): HTMLDDElement;
create(tag: "directory"): HTMLDirectoryElement;
create(tag: "div"): HTMLDivElement;
create(tag: "embeded"): HTMLEmbedElement;
create(tag: "fieldset"): HTMLFieldSetElement;
create(tag: "form"): HTMLFormElement;
create(tag: "frame"): HTMLFrameElement;
create(tag: "frameset"): HTMLFrameSetElement;
create(tag: "iframe"): HTMLDListElement;
create(tag: "image"): HTMLImageElement;
create(tag: "input"): HTMLInputElement;
create(tag: "i"): HTMLLIElement;
create(tag: "label"): HTMLLabelElement;
create(tag: "legend"): HTMLLegendElement;
create(tag: "li"): HTMLLIElement;
create(tag: "link"): HTMLLinkElement;
create(tag: "map"): HTMLMapElement;
create(tag: "mark"): HTMLMarqueeElement;
create(tag: "menu"): HTMLMenuElement;
create(tag: "meta"): HTMLMetaElement;
create(tag: "object"): HTMLObjectElement;
create(tag: "ol"): HTMLOListElement;
create(tag: "optgroup"): HTMLOptGroupElement;
create(tag: "option"): HTMLOptionElement;
create(tag: "p"): HTMLParagraphElement;
create(tag: "param"): HTMLParamElement;
create(tag: "pre"): HTMLPreElement;
create(tag: "progress"): HTMLProgressElement;
create(tag: "q"): HTMLQuoteElement;
create(tag: "script"): HTMLScriptElement;
create(tag: "select"): HTMLSelectElement;
create(tag: "source"): HTMLSourceElement;
create(tag: "span"): HTMLSpanElement;
create(tag: "style"): HTMLStyleElement;
create(tag: "table"): HTMLTableElement;
create(tag: "thead"): HTMLTableHeaderCellElement;
create(tag: "ul"): HTMLUListElement;
create(tag: "video"): HTMLVideoElement;
create<T>(tag: string): BlissDecoratedElement<T>;
create<T>(options: Object): BlissDecoratedElement<T>;
create(tag: "a", options: Object): HTMLAnchorElement;
create(tag: "applet", options: Object): HTMLAppletElement;
create(tag: "area", options: Object): HTMLAreaElement;
create(tag: "audio", options: Object): HTMLAudioElement;
create(tag: "base", options: Object): HTMLBaseElement;
create(tag: "basefont", options: Object): HTMLBaseFontElement;
create(tag: "blockquote", options: Object): HTMLBlockElement;
create(tag: "body", options: Object): HTMLBodyElement;
create(tag: "br", options: Object): HTMLBRElement;
create(tag: "button", options: Object): HTMLButtonElement;
create(tag: "canvas", options: Object): HTMLCanvasElement;
create(tag: "datalist", options: Object): HTMLDataListElement;
create(tag: "dd", options: Object): HTMLDDElement;
create(tag: "directory", options: Object): HTMLDirectoryElement;
create(tag: "div", options: Object): HTMLDivElement;
create(tag: "embeded", options: Object): HTMLEmbedElement;
create(tag: "fieldset", options: Object): HTMLFieldSetElement;
create(tag: "form", options: Object): HTMLFormElement;
create(tag: "frame", options: Object): HTMLFrameElement;
create(tag: "frameset", options: Object): HTMLFrameSetElement;
create(tag: "iframe", options: Object): HTMLDListElement;
create(tag: "image", options: Object): HTMLImageElement;
create(tag: "input", options: Object): HTMLInputElement;
create(tag: "i", options: Object): HTMLLIElement;
create(tag: "label", options: Object): HTMLLabelElement;
create(tag: "legend", options: Object): HTMLLegendElement;
create(tag: "li", options: Object): HTMLLIElement;
create(tag: "link", options: Object): HTMLLinkElement;
create(tag: "map", options: Object): HTMLMapElement;
create(tag: "mark", options: Object): HTMLMarqueeElement;
create(tag: "menu", options: Object): HTMLMenuElement;
create(tag: "meta", options: Object): HTMLMetaElement;
create(tag: "object", options: Object): HTMLObjectElement;
create(tag: "ol", options: Object): HTMLOListElement;
create(tag: "optgroup", options: Object): HTMLOptGroupElement;
create(tag: "option", options: Object): HTMLOptionElement;
create(tag: "p", options: Object): HTMLParagraphElement;
create(tag: "param", options: Object): HTMLParamElement;
create(tag: "pre", options: Object): HTMLPreElement;
create(tag: "progress", options: Object): HTMLProgressElement;
create(tag: "q", options: Object): HTMLQuoteElement;
create(tag: "script", options: Object): HTMLScriptElement;
create(tag: "select", options: Object): HTMLSelectElement;
create(tag: "source", options: Object): HTMLSourceElement;
create(tag: "span", options: Object): HTMLSpanElement;
create(tag: "style", options: Object): HTMLStyleElement;
create(tag: "table", options: Object): HTMLTableElement;
create(tag: "thead", options: Object): HTMLTableHeaderCellElement;
create(tag: "ul", options: Object): HTMLUListElement;
create(tag: "video", options: Object): HTMLVideoElement;
create<T>(tag: string, options: Object): BlissDecoratedElement<T>;
create<T>(...args:any[]): BlissDecoratedElement<T>;
set<T>(subject: BlissDecoratedElement<T>, options: Object): BlissDecoratedElement<T>;
contents<T>(subject: BlissDecoratedElement<T> , elements: Object | Array<any> | string | Number | Node): BlissDecoratedElement<T>;
contents<T>(subject: BlissDecoratedElement<T>[], elements: Object | Array<any> | string | Number | Node): BlissDecoratedElement<T>[];
clone<T>(subject:BlissDecoratedElement<T>) : BlissDecoratedElement<T>;
after<T>(subject:BlissDecoratedElement<T>, element: Element) : BlissDecoratedElement<T>;
around<T>(subject:BlissDecoratedElement<T>, element: Element) : BlissDecoratedElement<T>;
attributes<T>(subject:BlissDecoratedElement<T>, attrs: Object) : BlissDecoratedElement<T>;
attributes<T>(subject:BlissDecoratedElement<T>[], attrs: Object) : BlissDecoratedElement<T>[];
before<T>(subject:BlissDecoratedElement<T>, element: Element) : BlissDecoratedElement<T>;
inside<T>(subject:BlissDecoratedElement<T>, element: Element) : BlissDecoratedElement<T>;
properties<T>(subject:BlissDecoratedElement<T>, props: Object) : BlissDecoratedElement<T>;
properties<T>(subject:BlissDecoratedElement<T>[], props: Object) : BlissDecoratedElement<T>[];
start<T>(subject:BlissDecoratedElement<T>, element: Element) : BlissDecoratedElement<T>;
style<T>(subject:BlissDecoratedElement<T>, properties: Object) : BlissDecoratedElement<T>;
style<T>(subject:BlissDecoratedElement<T>[], properties: Object) : BlissDecoratedElement<T>[];
transition<T>(subject:BlissDecoratedElement<T> | BlissDecoratedElement<T>[], properties: Object, duration?: number) : Promise<T>;
delegate<T>(subject:BlissDecoratedElement<T> , type: string, selector: string, callback: (event: Event) => void): BlissDecoratedElement<T>;
delegate<T>(subject: BlissDecoratedElement<T>[], type: string, selector: string, callback: (event: Event) => void): BlissDecoratedElement<T>[];
delegate<T>(subject:BlissDecoratedElement<T> , type: string, selectorsToCallbacks: {[selector: string] : (event: Event) => void}): BlissDecoratedElement<T>;
delegate<T>(subject:BlissDecoratedElement<T>[], type: string, selectorsToCallbacks: {[selector: string] : (event: Event) => void}): BlissDecoratedElement<T>[];
delegate<T>(subject:BlissDecoratedElement<T> , typesToSelectorsToCallbacks: {[type: string] : {[selector: string] : (event: Event) => void}}): BlissDecoratedElement<T>;
delegate<T>(subject:BlissDecoratedElement<T>[], typesToSelectorsToCallbacks: {[type: string] : {[selector: string] : (event: Event) => void}}): BlissDecoratedElement<T>[];
events<T>(subject:BlissDecoratedElement<T> , handlers: {[eventName:string] : (event: Event) => void} | Element): BlissDecoratedElement<T>;
events<T>(subject: BlissDecoratedElement<T>[], handlers: {[eventName:string] : (event: Event) => void} | Element): BlissDecoratedElement<T>[];
fire<T>(subject:BlissDecoratedElement<T>, type: string, properties?: {[propertyName: string] : any}): BlissDecoratedElement<T>;
fire<T>(subject:BlissDecoratedElement<T>[], type: string, properties?: {[propertyName: string] : any}): BlissDecoratedElement<T>[];
once<T>(subject:BlissDecoratedElement<T>, handlers: {[eventName:string] : (event: Event) => void} | Element): BlissDecoratedElement<T>;
once<T>(subject:BlissDecoratedElement<T>[], handlers: {[eventName:string] : (event: Event) => void} | Element): BlissDecoratedElement<T>[];
ready(context?: Document): Promise<any>;
remove(subject:Element | BlissStatic): void;
all(array: Array<any>, method: string, ...args: Array<any>): Array<any>;
all<T>(array: Array<T>, method: string, ...args: Array<any>): Array<T>;
Class<T>(options: {
constructor?: Function;
extends?: Function;
abstract?: boolean;
lazy?: Object;
live?: Object;
static?: Object;
[propertyName: string]:any;
}): T;
Class(options: {
constructor?: Function;
extends?: Function;
abstract?: boolean;
lazy?: Object;
live?: Object;
static?: Object;
[propertyName: string]:any;
}): Object;
each<T>(obj: {[propertyName: string] : any}, callback: Function, ret?: Object): T;
each(obj: {[propertyName: string] : any}, callback: Function, ret?: Object): Object;
extend(target: Object, source: any, whitelist? : string[] | string | Function | RegExp): Object;
extend<T>(target: Object, source: any, whitelist? : string[] | string | Function | RegExp): T;
lazy(object: Object, property: string, getter: () => any): Object;
lazy<T>(object:Object, property: string, getter:() => any): T;
lazy(object: Object, properties: {[propertyName:string]: () => any}): Object;
lazy<T>(object: Object, properties: {[propertyName:string]: () => any}): T;
live(object: Object, property: string, descriptor: Object | Function): Object;
live<T>(object: Object, property: string, descriptor: Object | Function): T;
live(object: Object, properties: {[propertyName: string]: Object | Function}): Object;
live<T>(object: Object, properties: {[propertyName: string]: Object | Function}): T;
type(object: Object): string;
value(obj: Object, ...properties: string[]): any;
value<T>(obj: Object, ...properties: string[]): T;
value(property: string, ...properties: string[]): any;
value<T>(property: string , ...properties: string[]): T;
fetch(url: string, options?: {
method?: string;
data?: string;
headers?:{[key:string]:string};
onreadystatechange?: (ev: ProgressEvent) => any;
readyState?: number;
response?: any;
responseBody?: any;
responseText?: string;
responseType?: string;
responseXML?: any;
status?: number;
statusText?: string;
timeout?: number;
upload?: XMLHttpRequestUpload;
withCredentials?: boolean;
[propertyName: string]: any;
}): Promise<XMLHttpRequest>;
include(condition: any, url: string ): Promise<void>;
include(url: string ): Promise<void>;
add(name: string, callback: Function, on?: BlissStatic | BlissStaticCollection | Element | Array<any>): void;
add(callbacks:{[callbackName: string]: Function}, on?: BlissStatic | BlissStaticCollection | Element | Array<any>): void;
hooks: {
add(name: string, callback: Function): void;
run(name: string, env: Object): void;
};
$: BlissStaticCollection;
}
interface BlissStaticCollection extends BlissStatic {
<T>(selector: string, context?: Element): BlissDecoratedArrayElement<T>;
<T>(expr: Object, context?: Element): Array<T>;
(expr: Window, context?: Element): [Window];
(expr: Node, context?: Element): [Node];
}
// Native methods added into "_" property, but methods that return "void" now return thi stype in order to be chainables
// Methods are All HTMLElement a ELement methods
interface BlissNativeExtentions<T> {
blur(): T;
click(): T;
contains(child: HTMLElement): boolean;
dragDrop(): boolean;
focus(): T;
insertAdjacentElement(position: string, insertedElement: Element): Element;
insertAdjacentHTML(where: string, html: string): T;
insertAdjacentText(where: string, text: string): T;
msGetInputContext(): MSInputMethodContext;
scrollIntoView(top?: boolean): T;
setActive(): T;
addEventListener(type: "MSContentZoom", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSGestureChange", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSGestureDoubleTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSGestureEnd", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSGestureHold", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSGestureStart", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSGestureTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSGotPointerCapture", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSInertiaStart", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSLostPointerCapture", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSManipulationStateChanged", listener: (ev: MSManipulationEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerCancel", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerDown", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerEnter", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerLeave", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerMove", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerOut", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerOver", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerUp", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "abort", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
addEventListener(type: "activate", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
addEventListener(type: "ariarequest", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): T;
addEventListener(type: "beforeactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
addEventListener(type: "beforecopy", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
addEventListener(type: "beforecut", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
addEventListener(type: "beforedeactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
addEventListener(type: "beforepaste", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
addEventListener(type: "blur", listener: (ev: FocusEvent) => any, useCapture?: boolean): T;
addEventListener(type: "canplay", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "canplaythrough", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "change", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "click", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
addEventListener(type: "command", listener: (ev: CommandEvent) => any, useCapture?: boolean): T;
addEventListener(type: "contextmenu", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "copy", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
addEventListener(type: "cuechange", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "cut", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
addEventListener(type: "dblclick", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
addEventListener(type: "deactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
addEventListener(type: "drag", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
addEventListener(type: "dragend", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
addEventListener(type: "dragenter", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
addEventListener(type: "dragleave", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
addEventListener(type: "dragover", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
addEventListener(type: "dragstart", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
addEventListener(type: "drop", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
addEventListener(type: "durationchange", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "emptied", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "ended", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): T;
addEventListener(type: "focus", listener: (ev: FocusEvent) => any, useCapture?: boolean): T;
addEventListener(type: "gotpointercapture", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "input", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "keydown", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): T;
addEventListener(type: "keypress", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): T;
addEventListener(type: "keyup", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): T;
addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "loadeddata", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "loadedmetadata", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "loadstart", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "lostpointercapture", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "mousedown", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
addEventListener(type: "mouseenter", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
addEventListener(type: "mouseleave", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
addEventListener(type: "mousemove", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
addEventListener(type: "mouseout", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
addEventListener(type: "mouseover", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
addEventListener(type: "mouseup", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
addEventListener(type: "mousewheel", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): T;
addEventListener(type: "paste", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "play", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "playing", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "pointercancel", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointerdown", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointerenter", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointerleave", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointermove", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointerout", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointerover", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointerup", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "progress", listener: (ev: ProgressEvent) => any, useCapture?: boolean): T;
addEventListener(type: "ratechange", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "reset", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "scroll", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
addEventListener(type: "seeked", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "seeking", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "select", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
addEventListener(type: "selectstart", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "stalled", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "submit", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "suspend", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "timeupdate", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "touchcancel", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
addEventListener(type: "touchend", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
addEventListener(type: "touchmove", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
addEventListener(type: "touchstart", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
addEventListener(type: "volumechange", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "waiting", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "webkitfullscreenchange", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "webkitfullscreenerror", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "wheel", listener: (ev: WheelEvent) => any, useCapture?: boolean): T;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): T;
getAttribute(name?: string): string;
getAttributeNS(namespaceURI: string, localName: string): string;
getAttributeNode(name: string): Attr;
getAttributeNodeNS(namespaceURI: string, localName: string): Attr;
getBoundingClientRect(): ClientRect;
getClientRects(): ClientRectList;
getElementsByTagName(name: "a"): NodeListOf<HTMLAnchorElement>;
getElementsByTagName(name: "abbr"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "acronym"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "address"): NodeListOf<HTMLBlockElement>;
getElementsByTagName(name: "applet"): NodeListOf<HTMLAppletElement>;
getElementsByTagName(name: "area"): NodeListOf<HTMLAreaElement>;
getElementsByTagName(name: "article"): NodeListOf<HTMLElement>;
getElementsByTagName(name: "aside"): NodeListOf<HTMLElement>;
getElementsByTagName(name: "audio"): NodeListOf<HTMLAudioElement>;
getElementsByTagName(name: "b"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "base"): NodeListOf<HTMLBaseElement>;
getElementsByTagName(name: "basefont"): NodeListOf<HTMLBaseFontElement>;
getElementsByTagName(name: "bdo"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "big"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "blockquote"): NodeListOf<HTMLBlockElement>;
getElementsByTagName(name: "body"): NodeListOf<HTMLBodyElement>;
getElementsByTagName(name: "br"): NodeListOf<HTMLBRElement>;
getElementsByTagName(name: "button"): NodeListOf<HTMLButtonElement>;
getElementsByTagName(name: "canvas"): NodeListOf<HTMLCanvasElement>;
getElementsByTagName(name: "caption"): NodeListOf<HTMLTableCaptionElement>;
getElementsByTagName(name: "center"): NodeListOf<HTMLBlockElement>;
getElementsByTagName(name: "circle"): NodeListOf<SVGCircleElement>;
getElementsByTagName(name: "cite"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "clippath"): NodeListOf<SVGClipPathElement>;
getElementsByTagName(name: "code"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "col"): NodeListOf<HTMLTableColElement>;
getElementsByTagName(name: "colgroup"): NodeListOf<HTMLTableColElement>;
getElementsByTagName(name: "datalist"): NodeListOf<HTMLDataListElement>;
getElementsByTagName(name: "dd"): NodeListOf<HTMLDDElement>;
getElementsByTagName(name: "defs"): NodeListOf<SVGDefsElement>;
getElementsByTagName(name: "del"): NodeListOf<HTMLModElement>;
getElementsByTagName(name: "desc"): NodeListOf<SVGDescElement>;
getElementsByTagName(name: "dfn"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "dir"): NodeListOf<HTMLDirectoryElement>;
getElementsByTagName(name: "div"): NodeListOf<HTMLDivElement>;
getElementsByTagName(name: "dl"): NodeListOf<HTMLDListElement>;
getElementsByTagName(name: "dt"): NodeListOf<HTMLDTElement>;
getElementsByTagName(name: "ellipse"): NodeListOf<SVGEllipseElement>;
getElementsByTagName(name: "em"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "embed"): NodeListOf<HTMLEmbedElement>;
getElementsByTagName(name: "feblend"): NodeListOf<SVGFEBlendElement>;
getElementsByTagName(name: "fecolormatrix"): NodeListOf<SVGFEColorMatrixElement>;
getElementsByTagName(name: "fecomponenttransfer"): NodeListOf<SVGFEComponentTransferElement>;
getElementsByTagName(name: "fecomposite"): NodeListOf<SVGFECompositeElement>;
getElementsByTagName(name: "feconvolvematrix"): NodeListOf<SVGFEConvolveMatrixElement>;
getElementsByTagName(name: "fediffuselighting"): NodeListOf<SVGFEDiffuseLightingElement>;
getElementsByTagName(name: "fedisplacementmap"): NodeListOf<SVGFEDisplacementMapElement>;
getElementsByTagName(name: "fedistantlight"): NodeListOf<SVGFEDistantLightElement>;
getElementsByTagName(name: "feflood"): NodeListOf<SVGFEFloodElement>;
getElementsByTagName(name: "fefunca"): NodeListOf<SVGFEFuncAElement>;
getElementsByTagName(name: "fefuncb"): NodeListOf<SVGFEFuncBElement>;
getElementsByTagName(name: "fefuncg"): NodeListOf<SVGFEFuncGElement>;
getElementsByTagName(name: "fefuncr"): NodeListOf<SVGFEFuncRElement>;
getElementsByTagName(name: "fegaussianblur"): NodeListOf<SVGFEGaussianBlurElement>;
getElementsByTagName(name: "feimage"): NodeListOf<SVGFEImageElement>;
getElementsByTagName(name: "femerge"): NodeListOf<SVGFEMergeElement>;
getElementsByTagName(name: "femergenode"): NodeListOf<SVGFEMergeNodeElement>;
getElementsByTagName(name: "femorphology"): NodeListOf<SVGFEMorphologyElement>;
getElementsByTagName(name: "feoffset"): NodeListOf<SVGFEOffsetElement>;
getElementsByTagName(name: "fepointlight"): NodeListOf<SVGFEPointLightElement>;
getElementsByTagName(name: "fespecularlighting"): NodeListOf<SVGFESpecularLightingElement>;
getElementsByTagName(name: "fespotlight"): NodeListOf<SVGFESpotLightElement>;
getElementsByTagName(name: "fetile"): NodeListOf<SVGFETileElement>;
getElementsByTagName(name: "feturbulence"): NodeListOf<SVGFETurbulenceElement>;
getElementsByTagName(name: "fieldset"): NodeListOf<HTMLFieldSetElement>;
getElementsByTagName(name: "figcaption"): NodeListOf<HTMLElement>;
getElementsByTagName(name: "figure"): NodeListOf<HTMLElement>;
getElementsByTagName(name: "filter"): NodeListOf<SVGFilterElement>;
getElementsByTagName(name: "font"): NodeListOf<HTMLFontElement>;
getElementsByTagName(name: "footer"): NodeListOf<HTMLElement>;
getElementsByTagName(name: "foreignobject"): NodeListOf<SVGForeignObjectElement>;
getElementsByTagName(name: "form"): NodeListOf<HTMLFormElement>;
getElementsByTagName(name: "frame"): NodeListOf<HTMLFrameElement>;
getElementsByTagName(name: "frameset"): NodeListOf<HTMLFrameSetElement>;
getElementsByTagName(name: "g"): NodeListOf<SVGGElement>;
getElementsByTagName(name: "h1"): NodeListOf<HTMLHeadingElement>;
getElementsByTagName(name: "h2"): NodeListOf<HTMLHeadingElement>;
getElementsByTagName(name: "h3"): NodeListOf<HTMLHeadingElement>;
getElementsByTagName(name: "h4"): NodeListOf<HTMLHeadingElement>;
getElementsByTagName(name: "h5"): NodeListOf<HTMLHeadingElement>;
getElementsByTagName(name: "h6"): NodeListOf<HTMLHeadingElement>;
getElementsByTagName(name: "head"): NodeListOf<HTMLHeadElement>;
getElementsByTagName(name: "header"): NodeListOf<HTMLElement>;
getElementsByTagName(name: "hgroup"): NodeListOf<HTMLElement>;
getElementsByTagName(name: "hr"): NodeListOf<HTMLHRElement>;
getElementsByTagName(name: "html"): NodeListOf<HTMLHtmlElement>;
getElementsByTagName(name: "i"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "iframe"): NodeListOf<HTMLIFrameElement>;
getElementsByTagName(name: "image"): NodeListOf<SVGImageElement>;
getElementsByTagName(name: "img"): NodeListOf<HTMLImageElement>;
getElementsByTagName(name: "input"): NodeListOf<HTMLInputElement>;
getElementsByTagName(name: "ins"): NodeListOf<HTMLModElement>;
getElementsByTagName(name: "isindex"): NodeListOf<HTMLIsIndexElement>;
getElementsByTagName(name: "kbd"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "keygen"): NodeListOf<HTMLBlockElement>;
getElementsByTagName(name: "label"): NodeListOf<HTMLLabelElement>;
getElementsByTagName(name: "legend"): NodeListOf<HTMLLegendElement>;
getElementsByTagName(name: "li"): NodeListOf<HTMLLIElement>;
getElementsByTagName(name: "line"): NodeListOf<SVGLineElement>;
getElementsByTagName(name: "lineargradient"): NodeListOf<SVGLinearGradientElement>;
getElementsByTagName(name: "link"): NodeListOf<HTMLLinkElement>;
getElementsByTagName(name: "listing"): NodeListOf<HTMLBlockElement>;
getElementsByTagName(name: "map"): NodeListOf<HTMLMapElement>;
getElementsByTagName(name: "mark"): NodeListOf<HTMLElement>;
getElementsByTagName(name: "marker"): NodeListOf<SVGMarkerElement>;
getElementsByTagName(name: "marquee"): NodeListOf<HTMLMarqueeElement>;
getElementsByTagName(name: "mask"): NodeListOf<SVGMaskElement>;
getElementsByTagName(name: "menu"): NodeListOf<HTMLMenuElement>;
getElementsByTagName(name: "meta"): NodeListOf<HTMLMetaElement>;
getElementsByTagName(name: "metadata"): NodeListOf<SVGMetadataElement>;
getElementsByTagName(name: "nav"): NodeListOf<HTMLElement>;
getElementsByTagName(name: "nextid"): NodeListOf<HTMLNextIdElement>;
getElementsByTagName(name: "nobr"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "noframes"): NodeListOf<HTMLElement>;
getElementsByTagName(name: "noscript"): NodeListOf<HTMLElement>;
getElementsByTagName(name: "object"): NodeListOf<HTMLObjectElement>;
getElementsByTagName(name: "ol"): NodeListOf<HTMLOListElement>;
getElementsByTagName(name: "optgroup"): NodeListOf<HTMLOptGroupElement>;
getElementsByTagName(name: "option"): NodeListOf<HTMLOptionElement>;
getElementsByTagName(name: "p"): NodeListOf<HTMLParagraphElement>;
getElementsByTagName(name: "param"): NodeListOf<HTMLParamElement>;
getElementsByTagName(name: "path"): NodeListOf<SVGPathElement>;
getElementsByTagName(name: "pattern"): NodeListOf<SVGPatternElement>;
getElementsByTagName(name: "plaintext"): NodeListOf<HTMLBlockElement>;
getElementsByTagName(name: "polygon"): NodeListOf<SVGPolygonElement>;
getElementsByTagName(name: "polyline"): NodeListOf<SVGPolylineElement>;
getElementsByTagName(name: "pre"): NodeListOf<HTMLPreElement>;
getElementsByTagName(name: "progress"): NodeListOf<HTMLProgressElement>;
getElementsByTagName(name: "q"): NodeListOf<HTMLQuoteElement>;
getElementsByTagName(name: "radialgradient"): NodeListOf<SVGRadialGradientElement>;
getElementsByTagName(name: "rect"): NodeListOf<SVGRectElement>;
getElementsByTagName(name: "rt"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "ruby"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "s"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "samp"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "script"): NodeListOf<HTMLScriptElement>;
getElementsByTagName(name: "section"): NodeListOf<HTMLElement>;
getElementsByTagName(name: "select"): NodeListOf<HTMLSelectElement>;
getElementsByTagName(name: "small"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "source"): NodeListOf<HTMLSourceElement>;
getElementsByTagName(name: "span"): NodeListOf<HTMLSpanElement>;
getElementsByTagName(name: "stop"): NodeListOf<SVGStopElement>;
getElementsByTagName(name: "strike"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "strong"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "style"): NodeListOf<HTMLStyleElement>;
getElementsByTagName(name: "sub"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "sup"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "svg"): NodeListOf<SVGSVGElement>;
getElementsByTagName(name: "switch"): NodeListOf<SVGSwitchElement>;
getElementsByTagName(name: "symbol"): NodeListOf<SVGSymbolElement>;
getElementsByTagName(name: "table"): NodeListOf<HTMLTableElement>;
getElementsByTagName(name: "tbody"): NodeListOf<HTMLTableSectionElement>;
getElementsByTagName(name: "td"): NodeListOf<HTMLTableDataCellElement>;
getElementsByTagName(name: "text"): NodeListOf<SVGTextElement>;
getElementsByTagName(name: "textpath"): NodeListOf<SVGTextPathElement>;
getElementsByTagName(name: "textarea"): NodeListOf<HTMLTextAreaElement>;
getElementsByTagName(name: "tfoot"): NodeListOf<HTMLTableSectionElement>;
getElementsByTagName(name: "th"): NodeListOf<HTMLTableHeaderCellElement>;
getElementsByTagName(name: "thead"): NodeListOf<HTMLTableSectionElement>;
getElementsByTagName(name: "title"): NodeListOf<HTMLTitleElement>;
getElementsByTagName(name: "tr"): NodeListOf<HTMLTableRowElement>;
getElementsByTagName(name: "track"): NodeListOf<HTMLTrackElement>;
getElementsByTagName(name: "tspan"): NodeListOf<SVGTSpanElement>;
getElementsByTagName(name: "tt"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "u"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "ul"): NodeListOf<HTMLUListElement>;
getElementsByTagName(name: "use"): NodeListOf<SVGUseElement>;
getElementsByTagName(name: "var"): NodeListOf<HTMLPhraseElement>;
getElementsByTagName(name: "video"): NodeListOf<HTMLVideoElement>;
getElementsByTagName(name: "view"): NodeListOf<SVGViewElement>;
getElementsByTagName(name: "wbr"): NodeListOf<HTMLElement>;
getElementsByTagName(name: "x-ms-webview"): NodeListOf<MSHTMLWebViewElement>;
getElementsByTagName(name: "xmp"): NodeListOf<HTMLBlockElement>;
getElementsByTagName(name: string): NodeListOf<Element>;
getElementsByTagNameNS(namespaceURI: string, localName: string): NodeListOf<Element>;
hasAttribute(name: string): boolean;
hasAttributeNS(namespaceURI: string, localName: string): boolean;
msGetRegionContent(): MSRangeCollection;
msGetUntransformedBounds(): ClientRect;
msMatchesSelector(selectors: string): boolean;
msReleasePointerCapture(pointerId: number): T;
msSetPointerCapture(pointerId: number): T;
msZoomTo(args: MsZoomToOptions): T;
releasePointerCapture(pointerId: number): T;
removeAttribute(name?: string): T;
removeAttributeNS(namespaceURI: string, localName: string): T;
removeAttributeNode(oldAttr: Attr): Attr;
requestFullscreen(): T;
requestPointerLock(): T;
setAttribute(name?: string, value?: string): T;
setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): T;
setAttributeNode(newAttr: Attr): Attr;
setAttributeNodeNS(newAttr: Attr): Attr;
setPointerCapture(pointerId: number): T;
webkitMatchesSelector(selectors: string): boolean;
webkitRequestFullScreen(): T;
webkitRequestFullscreen(): T;
getElementsByClassName(classNames: string): NodeListOf<Element>;
addEventListener(type: "MSGestureChange", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSGestureDoubleTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSGestureEnd", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSGestureHold", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSGestureStart", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSGestureTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSGotPointerCapture", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSInertiaStart", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSLostPointerCapture", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerCancel", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerDown", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerEnter", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerLeave", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerMove", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerOut", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerOver", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "MSPointerUp", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "ariarequest", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): T;
addEventListener(type: "command", listener: (ev: CommandEvent) => any, useCapture?: boolean): T;
addEventListener(type: "gotpointercapture", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "lostpointercapture", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointercancel", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointerdown", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointerenter", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointerleave", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointermove", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointerout", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointerover", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "pointerup", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
addEventListener(type: "touchcancel", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
addEventListener(type: "touchend", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
addEventListener(type: "touchmove", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
addEventListener(type: "touchstart", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
addEventListener(type: "webkitfullscreenchange", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "webkitfullscreenerror", listener: (ev: Event) => any, useCapture?: boolean): T;
addEventListener(type: "wheel", listener: (ev: WheelEvent) => any, useCapture?: boolean): T;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): T;
}
interface BlissBindedElement<T> extends BlissNativeExtentions<T> {
set(options: Object): BlissDecoratedElement<T>
contents(elements: Object | Array<any> | string | Number | Node): BlissDecoratedElement<T>
clone(): BlissDecoratedElement<T>;
after(element:Element) : BlissDecoratedElement<T>;
around(element:Element) : BlissDecoratedElement<T>;
attributes(attrs: Object) : BlissDecoratedElement<T>;
before(element:Element) : BlissDecoratedElement<T>;
inside(element:Element) : BlissDecoratedElement<T>;
properties(props: Object) : BlissDecoratedElement<T>;
start(element:Element) : BlissDecoratedElement<T>;
style(properties: Object) : BlissDecoratedElement<T>;
transition(properties: Object, duration?: number) : Promise<T>;
delegate(type: string, selector: string, callback: (event: Event) => void): BlissDecoratedElement<T>;
delegate(type: string, selectorsToCallbacks: {[selector: string] : (event: Event) => void}): BlissDecoratedElement<T>;
delegate(typesToSelectorsToCallbacks: {[type: string] : {[selector: string] : (event: Event) => void}}): BlissDecoratedElement<T>;
events(handlers: {[eventName:string] : (event: Event) => void} | Element): BlissDecoratedElement<T>;
fire(type: string, properties?: {[propertyName: string] : any}): BlissDecoratedElement<T>;
once(handlers: {[eventName:string] : (event: Event) => void} | Element): BlissDecoratedElement<T>;
remove(): BlissDecoratedElement<T>;
}
interface BlissBindedArray<T> {
all(method: string, ...args: Array<any>): Array<any>;
all<T>(method: string, ...args: Array<any>): Array<T>;
}
interface BlissCollectionArray<T> {
set(options: Object): BlissCollectionArray<T>
contents(elements: Object | Array<any> | string | Number | Node): BlissCollectionArray<T>
clone(): BlissCollectionArray<T>;
after(element:Element) : BlissCollectionArray<T>;
around(element:Element) : BlissCollectionArray<T>;
attributes(attrs: Object) : BlissCollectionArray<T>;
before(element:Element) : BlissCollectionArray<T>;
inside(element:Element) : BlissCollectionArray<T>;
properties(props: Object) : BlissCollectionArray<T>;
start(element:Element) : BlissCollectionArray<T>;
style(properties: Object) : BlissCollectionArray<T>;
transition(properties: Object, duration?: number) : Promise<T>[];
delegate(type: string, selector: string, callback: (event: Event) => void): BlissCollectionArray<T>;
delegate(type: string, selectorsToCallbacks: {[selector: string] : (event: Event) => void}): BlissCollectionArray<T>;
delegate(typesToSelectorsToCallbacks: {[type: string] : {[selector: string] : (event: Event) => void}}): BlissCollectionArray<T>;
events(handlers: {[eventName:string] : (event: Event) => void} | Element): BlissCollectionArray<T>;
fire(type: string, properties?: {[propertyName: string] : any}): BlissCollectionArray<T>;
once(handlers: {[eventName:string] : (event: Event) => void} | Element): BlissCollectionArray<T>;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): BlissCollectionArray<T>;
remove(): BlissCollectionArray<T>;
}
}
declare var Bliss: BlissNS.BlissStatic;
declare var $: BlissNS.BlissStatic;
declare var $$: BlissNS.BlissStaticCollection;