/**
* Compiles the V2 Editor State into a V1-compatible payload for the backend.
* Supports both single-page (legacy sections[]) and multi-page (pages[]) formats.
*
* For multi-page: produces one
per page, each with the correct
* stationery header/footer based on the repeat config (all / first).
* Puppeteer renders each pbd-page as one physical PDF page via page-break-after:always.
*/
export declare const compileV2TemplateToV1Payload: (v2Payload: any, effTemplate: string) => {
sections: any[];
contents: string;
};