import { Plugin } from 'unified'; import { Root, RootContent } from 'hast'; export declare type CodePreviewOptions = {}; /** * - `idoc:preview` * - `idoc:preview:iframe` * @returns * ```js * { * preview: true, * iframe: false * } * ``` */ export declare function getCodeMeta(meta?: string): Record<'preview' | 'iframe', boolean>; export declare const codePreviewWarpperStyle: (node: Root | RootContent) => void; export declare const codePreview: Plugin<[CodePreviewOptions?], Root>;