import { BlockModel } from '@blockeditor/store';
import { type SerializedXYWH } from '../surface-block/index.js';
import { ImageBlockTransformer } from './image-transformer.js';
export type ImageBlockProps = {
    caption?: string;
    sourceId?: string;
    width?: number;
    height?: number;
    index: string;
    xywh: SerializedXYWH;
    rotate: number;
    size?: number;
};
export declare const ImageBlockSchema: {
    version: number;
    model: {
        role: "root" | "hub" | "content";
        props: import("@blockeditor/store").PropsGetter<ImageBlockProps>;
        flavour: "affine:image";
    } & {
        version: number;
        role: "content";
    };
    onUpgrade?: ((data: ImageBlockProps, previousVersion: number, latestVersion: number) => void) | undefined;
    transformer?: (() => ImageBlockTransformer) | undefined;
};
declare const ImageBlockModel_base: import("@blockeditor/global/utils").Constructor<BlockModel<ImageBlockProps> & import("../surface-block/index.js").IEdgelessElement>;
export declare class ImageBlockModel extends ImageBlockModel_base {
}
export {};
//# sourceMappingURL=image-model.d.ts.map