import * as i0 from '@angular/core'; import { NgZone, EventEmitter, ChangeDetectorRef, ElementRef } from '@angular/core'; import { StzhAudioCustomEvent, StzhAudioPlayEvent, StzhAudioPlayingEvent, StzhAudioPauseEvent, StzhAudioReplayEvent, StzhAudioEndEvent, StzhAudioEndedEvent, StzhAudioErrorEvent, Components } from '@oiz/stzh-components/components'; declare class StzhAudioModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class StzhAudio { protected z: NgZone; protected el: HTMLStzhAudioElement; stzhPlay: EventEmitter>; stzhPlaying: EventEmitter>; stzhPause: EventEmitter>; stzhReplay: EventEmitter>; stzhEnd: EventEmitter>; stzhEnded: EventEmitter>; stzhError: EventEmitter>; constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare interface StzhAudio extends Components.StzhAudio { /** * Fired when the paused property is changed from true to false, as a result of the play() method, or the autoplay attribute. */ stzhPlay: EventEmitter>; /** * Fired when playback is ready to start after having been paused or delayed due to lack of data. */ stzhPlaying: EventEmitter>; /** * Fired when a request to pause an activity is handled and the activity has entered its paused state, most commonly after the media has been paused through a call to the pause() method. */ stzhPause: EventEmitter>; /** * Fired when media playback starts again after being in an ended state. This is fired when the loop property is true and media loops, whereas the vds-play event is not. */ stzhReplay: EventEmitter>; /** * Fired each time media playback has reached the end. This is fired even if the loop property is true, which is generally when you'd reach for this event over the MediaEndedEvent if you want to be notified of media looping. */ stzhEnd: EventEmitter>; /** * Fired when playback or streaming has stopped because the end of the media was reached or because no further data is available. This is not fired if playback will start from the beginning again due to the loop property being true (see MediaReplayEvent and MediaEndEvent). */ stzhEnded: EventEmitter>; /** * Fired when media loading or playback has encountered any issues (for example, a network connectivity problem). The event detail contains a potential message containing more information about the error (empty string if nothing available), and a code that identifies the general type of error that occurred. */ stzhError: EventEmitter>; } export { StzhAudio, StzhAudioModule };