import { Ref } from 'vue';
import { fabric } from 'fabric';
import { DataRectangle } from '../core-types';
export default function useInitFabric(htmlCanvas: Ref<HTMLCanvasElement | undefined>, modelValue: Ref<DataRectangle[][] | undefined>): (file: string, pageNum: number, zoom: number) => Promise<fabric.Canvas | undefined>;
