import { type PropType } from 'vue';
import { Editor } from '@tiptap/core';
interface Heading {
    id: string;
    text: string;
    level: number;
}
/**
 * Find the closest heading when scrolls.
 *
 * @param event
 */
declare function onScroll(event: Event): void;
declare var __VLS_7: {};
type __VLS_Slots = {} & {
    title?: (props: typeof __VLS_7) => any;
};
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
    /**
     * Editor instance
     */
    editor: {
        type: typeof Editor;
    };
    /**
     * The max level of heading should be shown
     */
    maxLevel: {
        type: PropType<2 | 3>;
        default: number;
    };
}>, {
    /**
     * Find the closest heading when scrolls.
     *
     * @param event
     */
    onScroll: typeof onScroll;
    /**
     * Heading list
     */
    headings: import("vue").Ref<{
        id: string;
        text: string;
        level: number;
    }[], Heading[] | {
        id: string;
        text: string;
        level: number;
    }[]>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
    docScroll: (event: Event) => any;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
    /**
     * Editor instance
     */
    editor: {
        type: typeof Editor;
    };
    /**
     * The max level of heading should be shown
     */
    maxLevel: {
        type: PropType<2 | 3>;
        default: number;
    };
}>> & Readonly<{
    onDocScroll?: (event: Event) => any;
}>, {
    maxLevel: 2 | 3;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
