/// import Konva from 'konva'; import { Dimensions, Options, Plugin } from './types/docView'; import { shape } from '../util'; declare class DocView { _view: Record<'ppageno' | 'id', string | number> & Record & Record<'image', string>; _stage: Konva.Stage; _root: Konva.Layer; _img: Konva.Group; _plugins: Array; _stateCallbacks: Record) => Promise>; state: { plugins: Record>; }; constructor({ stageNode, doc, plugins, pluginOptions }: Options & { pluginOptions: Record; }); get words(): any; get image(): Konva.Image; init: () => Promise; pluginOptions: (name: string) => { view: Record<"ppageno" | "id", string | number> & Record & Record<"image", string>; root: import("konva/types/Layer").Layer; stage: import("konva/types/Stage").Stage; Konva: typeof Konva; fn: { shape: typeof shape; eachDeep: any; mapDeep: any; filterDeep: any; reduceDeep: any; cloneDeep: (value: T) => T; set: { (object: T_1, path: import("lodash").Many, value: any): T_1; (object: object, path: import("lodash").Many, value: any): TResult; }; get: { (object: TObject, path: TKey | [TKey]): TObject[TKey]; (object: TObject_1 | null | undefined, path: TKey_1 | [TKey_1]): TObject_1[TKey_1] | undefined; (object: TObject_2 | null | undefined, path: TKey_2 | [TKey_2], defaultValue: TDefault): TDefault | Exclude; (object: TObject_3, path: [TKey1, TKey2]): TObject_3[TKey1][TKey2]; (object: TObject_4 | null | undefined, path: [TKey1_1, TKey2_1]): TObject_4[TKey1_1][TKey2_1] | undefined; (object: TObject_5 | null | undefined, path: [TKey1_2, TKey2_2], defaultValue: TDefault_1): TDefault_1 | Exclude; (object: TObject_6, path: [TKey1_3, TKey2_3, TKey3]): TObject_6[TKey1_3][TKey2_3][TKey3]; (object: TObject_7 | null | undefined, path: [TKey1_4, TKey2_4, TKey3_1]): TObject_7[TKey1_4][TKey2_4][TKey3_1] | undefined; (object: TObject_8 | null | undefined, path: [TKey1_5, TKey2_5, TKey3_2], defaultValue: TDefault_2): TDefault_2 | Exclude; (object: TObject_9, path: [TKey1_6, TKey2_6, TKey3_3, TKey4]): TObject_9[TKey1_6][TKey2_6][TKey3_3][TKey4]; (object: TObject_10 | null | undefined, path: [TKey1_7, TKey2_7, TKey3_4, TKey4_1]): TObject_10[TKey1_7][TKey2_7][TKey3_4][TKey4_1] | undefined; (object: TObject_11 | null | undefined, path: [TKey1_8, TKey2_8, TKey3_5, TKey4_2], defaultValue: TDefault_3): TDefault_3 | Exclude; (object: import("lodash").NumericDictionary, path: number): T_2; (object: import("lodash").NumericDictionary | null | undefined, path: number): T_3 | undefined; (object: import("lodash").NumericDictionary | null | undefined, path: number, defaultValue: TDefault_4): T_4 | TDefault_4; (object: null | undefined, path: import("lodash").Many, defaultValue: TDefault_5): TDefault_5; (object: null | undefined, path: import("lodash").Many): undefined; (object: any, path: import("lodash").Many, defaultValue?: any): any; }; sequentially: (promises: Promise[]) => Promise; getState: () => Record; validateRange: (words: string[]) => boolean; }; }; pluginQueue: () => Promise; clear: () => void; setState: (state?: Record) => Promise; private loadImage; } export default DocView;