/** * vue-codemirror6 * * @description CodeMirror6 Component for vue2 and vue3. * @author Logue * @license MIT * @version 1.8.0 * @see {@link https://github.com/logue/vue-codemirror6} */ /** * h-demi - h function for Vue 2 and 3 * * @see {@link https://github.com/vueuse/vue-demi/issues/65} */ import { type Component, type VNode, type VNodeProps } from 'vue-demi'; type Options = VNodeProps & { class?: string; domProps?: VNodeProps; on?: Record void>; props?: VNodeProps; style?: string; 'aria-hidden'?: string; }; /** * Cross-version `h` (hyperscript) function that normalizes Vue 2 style * options (`props`, `domProps`, `on`) into Vue 3's flat VNode data object. * * @param type - Element tag name or component. * @param options - VNode options, accepting both Vue 2 and Vue 3 shapes. * @param children - Child VNode(s). * @returns Created VNode. */ export default function h(type: string | Component, options?: Options, children?: VNode | VNode[]): VNode; /** * Normalize a default slot into a VNode array, invoking it if it is a function. * * @param defaultSlots - Default slot content or slot function. * @returns Resolved VNode array. */ export declare const slot: (defaultSlots: (() => VNode[]) | VNode[] | undefined) => VNode[]; export {};