import { defineComponent } from 'vue'; import { UrlForResourceOptions, FileContentOptions } from '../../composables'; import { YjsOptions } from './types'; import { Resource, SpaceResource } from '@opencloud-eu/web-client'; type __VLS_Props = { applicationId: string; urlForResourceOptions?: UrlForResourceOptions; fileContentOptions?: FileContentOptions; wrappedComponent?: ReturnType; importResourceWithExtension?: (resource: Resource) => string; disableAutoSave?: boolean; /** * Opt the app into collaborative editing. When set, the wrapper owns the * Yjs session and hands `ydoc` / `awareness` to the wrapped component. */ yjs?: YjsOptions; }; declare var __VLS_11: { applicationConfig: import("../../index.js").AppConfigObject; space: SpaceResource; resource: Resource; currentFileContext: import("../../composables").FileContext; currentContent: string; url: string; isDirty: boolean; isReadOnly: boolean; activeFiles: Resource[]; isFolderLoading: boolean; ydoc: import("yjs").Doc | null; awareness: import("y-protocols/awareness.js").Awareness | null; yjsStatus: import("../../composables").YjsStatus | null; loadFolderForFileContext: import("../../composables").AppFolderHandlingResult["loadFolderForFileContext"]; getUrlForResource: import("../../composables").AppFileHandlingResult["getUrlForResource"]; revokeUrl: import("../../composables").AppFileHandlingResult["revokeUrl"]; onSave: () => Promise; onClose: () => void; 'onUpdate:resource': (value: Resource) => void; 'onUpdate:currentContent': (value: unknown) => void; 'onRegister:onDeleteResourceCallback': (value: () => void) => void; 'onRegister:onSaveCallback': (value: (content: unknown) => void | Promise) => void; 'onDelete:resource': () => void; class: { 'w-[calc(100%-360px)]': boolean; }; }; type __VLS_Slots = {} & { default?: (props: typeof __VLS_11) => any; }; declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };