import * as _angular_animations from '@angular/animations';
import * as i0 from '@angular/core';
import { ElementRef } from '@angular/core';
import * as i4 from '@angular/common';
import { Point2D } from '@obliczeniowo/elementary/classes';
declare class Animations {
/**
* Rotate animation by 180 degreases
*
* in HTML use:
*
* to provide animation
*/
static rotate180deg: _angular_animations.AnimationTriggerMetadata;
/**
* Fade in/out animation
*
* in HTML use:
*
*/
static fadeInOut(inSeconds?: number, outSeconds?: number): _angular_animations.AnimationTriggerMetadata;
}
declare class FadeInOutComponent {
state: i0.InputSignal
;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
declare class ScrollAnimationComponent {
private readonly root;
protected options: {
root: null;
rootMargin: string;
threshold: number[];
};
animations: i0.InputSignal;
container: ElementRef;
protected observer: IntersectionObserver;
constructor(root: ElementRef);
ngAfterViewInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
declare class TypeTextComponent {
text: i0.InputSignal;
interval: i0.InputSignal;
animText: i0.WritableSignal;
private time;
constructor();
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}
declare class AnimationsModule {
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵmod: i0.ɵɵNgModuleDeclaration;
static ɵinj: i0.ɵɵInjectorDeclaration;
}
declare class OblSourceToTargetAnimation {
protected start: Point2D;
protected end: Point2D;
protected element: HTMLElement;
protected timer: any;
protected count: number;
protected interval: number;
protected maxRounds: number;
constructor(target: HTMLElement | any, destination: HTMLElement | any, message: string, options?: {
interval?: number;
maxRounds?: number;
styles?: {
[name: string]: string;
};
});
startAnim(): void;
remove(): void;
}
export { Animations, AnimationsModule, FadeInOutComponent, OblSourceToTargetAnimation, ScrollAnimationComponent, TypeTextComponent };