import { Observable } from 'rxjs/Observable';
import 'rxjs/add/observable/fromEvent';
import 'rxjs/add/operator/filter';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/startWith';
import 'rxjs/add/operator/takeUntil';
/**
 * Captures a MouseEvent or TouchEvent (from touchstart or mousedown) and
 * returns an observable that emits when the pointer or finger is dragged.
 */
export declare function captureDrag(ev: MouseEvent | TouchEvent): Observable<MouseEvent | Touch>;
/**
 * Returns an observable that fires once the drag stops.
 */
export declare function dragCancelled(ev: MouseEvent | TouchEvent): Observable<void>;
