import { HandwrittenBill } from '@/entities/handwritten-bill.entity';
import { DataSource, Repository } from 'typeorm';
import { CreateHandwrittenBillDto } from './dto/create-handwritten-bill.dto';
import { Order } from '@/entities/order.entity';
export declare class HandwrittenBillService {
    private dataSource;
    private readonly handBillRepo;
    private readonly orderRepo;
    constructor(dataSource: DataSource, handBillRepo: Repository<HandwrittenBill>, orderRepo: Repository<Order>);
    findAll(): Promise<HandwrittenBill[]>;
    getLatestBill(): Promise<number>;
    create(createHandwrittenBillDto: CreateHandwrittenBillDto): Promise<HandwrittenBill>;
    isInHandwrittenRange(orderCode: number): Promise<boolean>;
}
