import type { Ref } from 'vue'; /** * 获取预览 token(SWR 安全)。 * * SSR 时从 event.context.__cms_preview_token 读取,该值由 preview-context * 中间件写入,通过引用共享穿越 Nitro SWR 合成事件边界。 * CSR 时从 cookie 读取(客户端不受 SWR 影响)。 */ export declare function useCmsPreviewToken(): Ref; /** 预览模式管理 */ export declare function useCmsPreview(): { isPreview: import("vue").ComputedRef; previewToken: Ref; exitPreview: () => void; }; //# sourceMappingURL=useCmsPreview.d.ts.map