import type { Text } from '@blockeditor/store';
import { BlockModel } from '@blockeditor/store';
import { Bound, type HitTestOptions, type SerializedXYWH } from '../surface-block/index.js';
type FrameBlockProps = {
    title: Text;
    background: string;
    xywh: SerializedXYWH;
    index: string;
};
export declare const FrameBlockSchema: {
    version: number;
    model: {
        role: "root" | "hub" | "content";
        props: import("@blockeditor/store").PropsGetter<FrameBlockProps>;
        flavour: "affine:frame";
    } & {
        version: number;
        role: "content";
        parent: string[];
        children: never[];
    };
    onUpgrade?: ((data: FrameBlockProps, previousVersion: number, latestVersion: number) => void) | undefined;
    transformer?: (() => import("@blockeditor/store").BaseBlockTransformer<FrameBlockProps>) | undefined;
};
declare const FrameBlockModel_base: import("@blockeditor/global/utils").Constructor<BlockModel<FrameBlockProps> & import("../surface-block/index.js").IEdgelessElement>;
export declare class FrameBlockModel extends FrameBlockModel_base {
    static PADDING: number[];
    batch: string;
    hitTest(x: number, y: number, _: HitTestOptions): boolean;
    boxSelect(seclectedBound: Bound): boolean;
}
export {};
//# sourceMappingURL=frame-model.d.ts.map