import { ComputedRef, Ref, ShallowRef } from 'vue';
import { Doc } from '../view/Doc';
import { DocController, DocInfo } from '../../sdk/types';
export declare function useDocPubApiContext(): {
    /** 受控文档句柄（公共 API） */
    controller: ShallowRef<DocController>;
    docInfo: Ref<DocInfo, DocInfo>;
    /** doc 实例 */
    docInst: ShallowRef<Doc>;
    /** query 服务 */
    query: ComputedRef<import('../../sdk/types').DocQueryAPI>;
    updateTick: ComputedRef<number>;
    isDesignMode: ComputedRef<boolean>;
    loading: ComputedRef<boolean>;
    hasData: ComputedRef<boolean>;
    hasPages: ComputedRef<boolean>;
    hasValidPageData: ComputedRef<boolean>;
    withLayoutComputed: <T>(getter: () => T) => ComputedRef<T>;
};
