import { GraphicNode } from "../node/GraphicNode";
import { FallbackDrawer } from "../../ability/drawer/FallbackDrawer";
import { AbsProps } from "../props/AbsProps";
import { IPoint } from "../../idl";
import { IRect, Rect } from "../../common";
import { BorderProps } from "../props/BorderProps";
import { CropProps } from "../props/CropProps";
export declare abstract class AbsImgNode extends GraphicNode {
    imgBitmap: ImageBitmap | null;
    fallbackDrawer: FallbackDrawer;
    broken: boolean;
    setBroken(broken?: boolean): void;
    setImageBitmap(imgBitmap: ImageBitmap): void;
    get borderProps(): BorderProps;
    get cropProps(): CropProps;
    updateProps(props: Partial<AbsProps>[]): void;
    drawOnGLCtx(ctx: CanvasRenderingContext2D): void;
    private clipDrawBorder;
    private clipDrawImage;
    getImgSize(): {
        imgWidth: number;
        imgHeight: number;
    };
    getOriginImageRect(): Rect;
    getTextContentRect(): IRect;
    getConnectAnchor(): IPoint[];
    borderContains(globalPoint: IPoint, buffer: number): IPoint | null;
}
//# sourceMappingURL=AbsImgNode.d.ts.map