UNPKG

829 BTypeScriptView Raw
1import { KeyframeAnimationInfo, KeyframeDeclaration, KeyframeInfo, UnparsedKeyframe } from '../animation/keyframe-animation';
2export declare class CssAnimationParser {
3 static keyframeAnimationsFromCSSDeclarations(declarations: KeyframeDeclaration[]): KeyframeAnimationInfo[];
4 static keyframesArrayFromCSS(keyframes: UnparsedKeyframe[]): KeyframeInfo[];
5}
6/**
7 * @see https://w3c.github.io/csswg-drafts/css-animations/#propdef-animation
8 * @see https://developer.mozilla.org/en-US/docs/Web/CSS/animation
9 * @internal - exported for testing
10 * @param value
11 * @param animations
12 */
13export declare function keyframeAnimationsFromCSSProperty(value: any, animations: KeyframeAnimationInfo[]): void;
14export declare function parseKeyframeDeclarations(unparsedKeyframeDeclarations: KeyframeDeclaration[]): KeyframeDeclaration[];