import React from 'react';
export type TScanInfo = {
    image: string;
    title: string;
    code: string;
    status: {
        name: string;
        type: string;
    };
    scanDate: string;
    ticketId?: number;
    borrowerName?: string;
    roleName?: string;
    borrowDate?: string;
    classroomName?: string;
    bookBorrowId?: number;
    userCode?: string;
    expectReturnDate?: string;
    totalReturned?: number;
    totalBorrowed?: number;
    bookId?: number;
    preStateId?: number;
};
export default function ScanTicketInfo({ onChangeHistory, schoolYearId, warehouseId, }: {
    warehouseId: number;
    schoolYearId: number;
    onChangeHistory(newData: TScanInfo, isDeleted?: boolean): void;
}): React.JSX.Element;
