@hmcts/media-viewer
Version:
23 lines • 964 B
TypeScript
import { Subject } from 'rxjs';
import { Rectangle } from '../annotations/annotation-set/annotation-view/rectangle/rectangle.model';
import * as i0 from "@angular/core";
export interface Highlight {
page: number;
rectangles: Rectangle[];
}
export declare class ViewerEventService {
readonly textHighlight: Subject<Highlight>;
readonly boxHighlight: Subject<Highlight>;
readonly ctxToolbarCleared: Subject<void>;
readonly navigationEvent: Subject<any[]>;
readonly navigationEventICP: Subject<any[]>;
constructor();
textSelected(selectionData: Highlight): void;
boxSelected(selectionData: Highlight): void;
clearCtxToolbar(): void;
goToDestination(destination: any[]): void;
goToDestinationICP(destination: any[]): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ViewerEventService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ViewerEventService>;
}
//# sourceMappingURL=viewer-event.service.d.ts.map