import { LayoutNode, LayoutNodeOptions } from '../base';
/**
 * 图片运行接口
 */
export interface IImageRun {
    readonly id: string;
    /** 组件类型 */
    readonly component: string;
    /** 组件宽度 */
    readonly width: number;
    /** 组件高度 */
    readonly height: number;
    /** 组件坐标位置 */
    readonly x: number;
    /** 组件坐标位置 */
    readonly y: number;
    /** 图片源地址 */
    src: string;
    /** 是否保持等比 */
    keepAspect: boolean;
}
export interface ImageRunOptions extends LayoutNodeOptions {
    src: string;
    decorations?: Array<{
        text: string;
        width: number;
        height: number;
        fontSize: number;
        x: number;
        y: number;
        position: 'right' | 'bottom';
    }>;
}
/**
 * 图片运行类
 * 用于处理文档中的图片
 */
export declare class ImageRun extends LayoutNode implements IImageRun {
    component: "inline-image";
    src: string;
    /** 是否保持等比 */
    keepAspect: boolean;
    decorations?: ImageRunOptions['decorations'];
    get width(): number;
    get height(): number;
    constructor(options: ImageRunOptions);
}
