import { ILayer } from "@layerhub-io/types"; import { fabric } from "fabric"; import { ControllerOptions, Dimension, GradientOptions } from "../common/interfaces"; import Base from "./Base"; declare class Frame extends Base { constructor(props: ControllerOptions); initialize(): void; get frame(): Required; get background(): Required; get options(): Required; resize({ height, width }: Dimension): void; setHoverCursor: (cursor: string) => void; setBackgroundColor: (color: string) => void; setBackgroundGradient: ({ angle, colors }: GradientOptions) => void; getBoundingClientRect(): { left: number; top: number; width: number; height: number; }; get fitRatio(): number; } export default Frame;