import { XmlStream } from "@excel/utils/xml-stream";
import { BaseXform } from "@excel/xlsx/xform/base-xform";
import type { PivotTableSource, ParsedCacheRecords, CacheField } from "@excel/pivot-table";
/**
 * Model for generating pivot cache records (with live source)
 */
interface CacheRecordsModel {
    source: PivotTableSource;
    cacheFields: CacheField[];
}
declare class PivotCacheRecordsXform extends BaseXform<ParsedCacheRecords | null> {
    private currentRecord;
    constructor();
    get tag(): string;
    reset(): void;
    /**
     * Render pivot cache records XML.
     * Supports both newly created models (with PivotTableSource) and loaded models.
     */
    render(xmlStream: XmlStream, model: CacheRecordsModel | ParsedCacheRecords): void;
    /**
     * Render newly created pivot cache records
     */
    private renderNew;
    /**
     * Render loaded pivot cache records
     */
    private renderLoaded;
    /**
     * Render a single record value to XML
     */
    private renderRecordValue;
    private renderTableNew;
    private renderCellNew;
    parseOpen(node: any): boolean;
    parseText(_text: string): void;
    parseClose(name: string): boolean;
    static readonly PIVOT_CACHE_RECORDS_ATTRIBUTES: {
        xmlns: string;
        "xmlns:r": string;
        "xmlns:mc": string;
        "mc:Ignorable": string;
        "xmlns:xr": string;
    };
}
export { PivotCacheRecordsXform };
