import { PropType } from 'vue'; import { CodeLayoutPanelInternal, CodeLayoutConfig, CodeLayoutGrid, CodeLayoutGridInternal, CodeLayoutLangConfig, CodeLayoutPanel } from './CodeLayout'; import { MenuOptions } from '@imengyu/vue3-context-menu'; declare const _default: __VLS_WithTemplateSlots; default: () => CodeLayoutConfig; }; /** * Language config * @default { lang: 'en' } */ langConfig: { type: PropType; default: () => { lang: string; }; }; /** * Main menu (in top left) config */ mainMenuConfig: { type: PropType; default: null; }; /** * The empty text when no panel in the group * @default "Drag a view here to display" */ emptyText: { type: StringConstructor; default: string; }; /** * Should the canSaveLayout event be triggered when window. beforeupload * @default true */ saveBeforeUnload: { type: BooleanConstructor; default: boolean; }; }, { getPanelByName(name: string): CodeLayoutPanelInternal | undefined; addGroup: (panel: CodeLayoutPanel, target: CodeLayoutGrid) => CodeLayoutPanelInternal; removeGroup(panel: CodeLayoutPanelInternal): void; getRootGrid(target: CodeLayoutGrid): CodeLayoutGridInternal; relayoutAll: () => void; relayoutGroup(name: string): void; saveLayout(): any; clearLayout(): void; loadLayout(json: any, instantiatePanelCallback: (data: CodeLayoutPanel) => CodeLayoutPanel): void; }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { canLoadLayout: (...args: any[]) => void; canSaveLayout: (...args: any[]) => void; baseLayoutChange: (...args: any[]) => void; }, string, import('vue').PublicProps, Readonly; default: () => CodeLayoutConfig; }; /** * Language config * @default { lang: 'en' } */ langConfig: { type: PropType; default: () => { lang: string; }; }; /** * Main menu (in top left) config */ mainMenuConfig: { type: PropType; default: null; }; /** * The empty text when no panel in the group * @default "Drag a view here to display" */ emptyText: { type: StringConstructor; default: string; }; /** * Should the canSaveLayout event be triggered when window. beforeupload * @default true */ saveBeforeUnload: { type: BooleanConstructor; default: boolean; }; }>> & { onCanLoadLayout?: ((...args: any[]) => any) | undefined; onCanSaveLayout?: ((...args: any[]) => any) | undefined; onBaseLayoutChange?: ((...args: any[]) => any) | undefined; }, { saveBeforeUnload: boolean; layoutConfig: CodeLayoutConfig; langConfig: CodeLayoutLangConfig; mainMenuConfig: MenuOptions; emptyText: string; }, {}>, any>; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };