import { Ref } from 'vue'; export interface OfficeFileBlock { name?: string; fileUrl?: string; ext?: string; } interface OnlyOfficeProps { appKey?: string; appSalt?: string; baseHttp?: string; username?: string; onlyofficeCallbackUrl?: string; ids?: Record; } export declare const useOnlyOffice: (props: OnlyOfficeProps, materialTaskId: Ref) => { visible: Ref; block: Ref<{ name?: string | undefined; fileUrl?: string | undefined; ext?: string | undefined; } | null, OfficeFileBlock | { name?: string | undefined; fileUrl?: string | undefined; ext?: string | undefined; } | null>; editorRef: Ref; loading: Ref; error: Ref; openDocument: (file: OfficeFileBlock) => void; closeDocument: () => void; retry: () => void; treeRef: Ref; channelTree: import('vue').ComputedRef<{ id: string; label: any; children: { id: string; channelId: any; label: any; children: any[]; }[]; }[]>; selectedChannelKeys: Ref; checkAll: Ref; isIndeterminate: Ref; publishLoading: Ref; handleTreeCheck: (_node: any, info: any) => void; handleCheckAllChange: (val: boolean) => void; handlePublishConfirm: () => Promise; }; export {};