import { Frame, ImageProps, ObjectFit, Position, Size } from '../../types'; import { TrackElement } from './base.element'; import { ElementVisitor } from '../visitor/element-visitor'; import { ElementFrameEffect } from '../addOns/frame-effect'; export declare class ImageElement extends TrackElement { protected backgroundColor: string; protected parentSize: Size; protected objectFit: ObjectFit; frameEffects?: ElementFrameEffect[]; frame: Frame; protected props: ImageProps; constructor(src: string, parentSize: Size); getParentSize(): Size; getFrame(): Frame; getFrameEffects(): ElementFrameEffect[] | undefined; getBackgroundColor(): string; getObjectFit(): ObjectFit; getSrc(): string; getRotation(): number; setRotation(rotation: number): this; getPosition(): Position; updateImageMeta(updateFrame?: boolean): Promise; setPosition(position: Position): this; setSrc(src: string): Promise; setObjectFit(objectFit: ObjectFit): this; setFrame(frame: Frame): this; setParentSize(parentSize: Size): this; setMediaFilter(mediaFilter: string): this; setBackgroundColor(backgroundColor: string): this; setProps(props: Omit): this; setFrameEffects(frameEffects?: ElementFrameEffect[]): this; addFrameEffect(frameEffect: ElementFrameEffect): this; accept(visitor: ElementVisitor): T; } //# sourceMappingURL=image.element.d.ts.map