import { Component, FormattedData, Mock, PageContent } from '@/types/index';
export declare type FormatOptions = {
    origin: PageContent;
    extend?: PageContent;
    mocks: Mock[];
    components: Component[];
};
/**
 * format
 * for visual editor render use
 * @param data
 * @returns
 */
export declare const format: (data: PageContent, opt: FormatOptions) => FormattedData;
