import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
export type PageElementCounts = {
    elements: {
        [key: string]: number;
    };
    macros: {
        [key: string]: number;
    };
    textFormats: {
        [key: string]: number;
    };
    unexpectedElements: {
        [key: string]: number;
    };
};
/**
 * Traverses a JSON document and counts the number of unique elements, text formatting and macros.
 *
 **/
export declare const getPageElementCounts: (doc: JSONDocNode) => PageElementCounts;
