/**
 * @param {Object} params
 * @returns {Array|null}
 */
export function handleDocPartObj(params: any): any[] | null;
export function tableOfContentsHandler(params: any): {
    type: string;
    content: any;
    attrs: {
        id: any;
        docPartGallery: string;
        docPartUnique: boolean;
    };
};
