import { ElementRef } from '@angular/core'; import { AnimationBuilder, AnimationPlayer } from '@angular/animations'; import * as i0 from "@angular/core"; export declare type AnimationValueDelegate = (el?: HTMLElement, index?: number, list?: HTMLElement[]) => number | string; export interface AnimationResult { element: HTMLElement; animation: AnimationPlayer; } export interface AnimationOptions { targets: HTMLElement | string | ElementRef | HTMLElement[] | NodeList; fillMode?: 'forwards' | 'none' | null; easing?: string | AnimationValueDelegate; duration?: number | string | AnimationValueDelegate; delay?: number | string | AnimationValueDelegate; [prop: string]: any; height: number; } export interface Animator { animate(options: any): Promise; } export declare class AnimationService implements Animator { private _animationBuilder; private _document; constructor(_animationBuilder: AnimationBuilder, _document: any); animate(options: AnimationOptions | any): Promise; private _getAnimationTargetNodes; private _buildAnimation; private _playAnimationsAndGetPromises; static ɵfac: i0.ɵɵFactoryDef; static ɵprov: i0.ɵɵInjectableDef; }