import { Repository } from 'typeorm';
import { ClsService } from 'nestjs-cls';
import { TaxSlabEntity } from '../../entities/tax-slab.entity';
export declare class TaxSnapshotService {
    private readonly slabRepo;
    private readonly cls;
    constructor(slabRepo: Repository<TaxSlabEntity>, cls: ClsService);
    private tenantId;
    resolveForDestination(destinationId: string | null | undefined): Promise<{
        tax_breakdown: Record<string, Record<string, number>>;
        total_rate: number;
    } | null>;
    sumRates(breakdown: Record<string, Record<string, number>> | null | undefined): number;
    computeAmount(subtotal: number | null | undefined, breakdown: Record<string, Record<string, number>> | null | undefined): number | null;
    shouldSnapshot(line: {
        tax_breakdown?: unknown;
    }, refreshFlag?: boolean): boolean;
}
