import { InvoiceConfiguration } from '../entities/InvoiceConfiguration';
import { OmBillPeriodResult } from '../utils/omBillingPeriod';
/**
 * Regenerate-Invoice-only Proforma PDF builder.
 * Mirrors import/catch-up `generateWorkerScheduledOmInvoicePdfBuffer` so regenerated
 * PDFs include the same branding fields (including stamp/signature).
 *
 * Do NOT modify newSchemeInvoiceCatchup.service or scheduledOmInvoicePdf.shared —
 * this file is intentionally isolated for the removable Regenerate Invoice feature.
 */
export declare function minimalInvoiceBrandingForRegenerate(agencyId: string): InvoiceConfiguration;
/** Map invoice_configuration row (snake_case) → entity, including stamp_with_signature. */
export declare function mapInvoiceConfigurationRowForRegenerate(row: any, agencyId: string): InvoiceConfiguration;
export declare function loadSchemeVillageNamesForRegenerate(schemeUuid: string): Promise<string>;
export type RegenerateProformaPdfInput = {
    invoiceBranding: InvoiceConfiguration;
    scheme: {
        name?: string | null;
        invoiceName?: string | null;
        omAgreementNo?: string | null;
        districtName?: string | null;
        sacCode?: string | null;
    };
    schemeUuid: string;
    timezone: string;
    monthlyPreTax: number;
    penaltyAmount?: number;
    cgstRate: number;
    sgstRate: number;
    invoiceNumberDisplay: string;
    billingPeriod: string;
    omBillPeriod: OmBillPeriodResult;
    omBillNumber: string;
    invoiceDateDisplay: string;
    /** Optional override for villages list (from modal); otherwise loaded from DB. */
    schemeVillagesList?: string;
    documentKindTitle?: string;
};
/**
 * Same Proforma HTML→PDF path as import/catch-up worker, with stamp/signature from branding.
 */
export declare function generateRegenerateProformaInvoicePdfBuffer(params: RegenerateProformaPdfInput): Promise<Buffer>;
//# sourceMappingURL=regenerateInvoiceProformaPdf.service.d.ts.map