Files
ServiceManager/frontend/node_modules/embla-carousel/components/Animations.d.ts
2026-01-01 17:40:53 +01:00

14 lines
564 B
TypeScript

import { EngineType } from './Engine';
import { WindowType } from './utils';
export type AnimationsUpdateType = (engine: EngineType) => void;
export type AnimationsRenderType = (engine: EngineType, alpha: number) => void;
export type AnimationsType = {
init: () => void;
destroy: () => void;
start: () => void;
stop: () => void;
update: () => void;
render: (alpha: number) => void;
};
export declare function Animations(ownerDocument: Document, ownerWindow: WindowType, update: () => void, render: (alpha: number) => void): AnimationsType;