import { Fill, FlowDirection, Stroke, StrokeCap, StrokeJoin, ValueOrKeyframes } from '../properties'; import { ElementBase, ElementProperties } from './ElementBase'; export interface CompositionProperties extends ElementProperties { /** * The direction in which relatively positioned elements are laid out. */ flowDirection?: ValueOrKeyframes; /** * Set to true to loop the content of the composition. */ loop?: ValueOrKeyframes; /** * Use this with loop to set the number of repetitions. Keep it at null to loop indefinitely. */ plays?: ValueOrKeyframes; /** * The fill. */ fill?: ValueOrKeyframes; /** * The fill color of the element. It may be a string or an array of color stops if fillMode is set to linear or * radial. Use the template designer to see how color stops are formatted. */ fillColor?: ValueOrKeyframes; /** * The fill method used: solid, linear, and radial. */ fillMode?: ValueOrKeyframes; /** * The start position of the gradient on the x-axis. Use with fillMode linear or radial. */ fillX0?: ValueOrKeyframes; /** * The start position of the gradient on the y-axis. Use with fillMode linear or radial. */ fillY0?: ValueOrKeyframes; /** * The end position of the gradient on the x-axis. Use with fillMode linear or radial. */ fillX1?: ValueOrKeyframes; /** * The end position of the gradient on the y-axis. Use with fillMode linear or radial. */ fillY1?: ValueOrKeyframes; /** * The radius of the radial gradient in relation to the element's max(width,height). */ fillRadius?: ValueOrKeyframes; /** * The stroke. */ stroke?: ValueOrKeyframes; /** * The stroke color of the element. */ strokeColor?: ValueOrKeyframes; /** * The size of the stroke. */ strokeWidth?: ValueOrKeyframes; /** * The stroke cap: but, square, and round. */ strokeCap?: ValueOrKeyframes; /** * The stroke join: miter, bevel, and round. */ strokeJoin?: ValueOrKeyframes; /** * The start of the stroke relative to its total length. */ strokeStart?: ValueOrKeyframes; /** * The end of the stroke relative to its total length. */ strokeEnd?: ValueOrKeyframes; /** * The offset of the stroke relative to its total length. */ strokeOffset?: ValueOrKeyframes; /** * The border radius of the element. */ borderRadius?: ValueOrKeyframes; /** * Elements that make up the composition. */ elements?: Array | Record>; } export declare class Composition extends ElementBase { type: string; toMap(): Record; }