import React from 'react'; import { TSectionData } from '~'; import { TPageContext, TPageData } from './Page.types'; export declare const addSectionToPage: (pageDataRef: React.MutableRefObject, index: number, sectionData: TSectionData) => void; export declare const removePageSection: (pageDataRef: React.MutableRefObject, sectionId: string) => void; export declare const movePageSection: (pageDataRef: React.MutableRefObject, sectionId: string, toIndex: number) => void; export declare const getPageDataForSave: (pageData: TPageData) => { id: string; is_published: boolean; is_locked: boolean; slug: string; sections: TSectionData[]; metadata: import("./Page.types").TPageMetadata; }; export declare const initPageContextData: TPageContext;