export declare const getListBookStateQuery = "\n  query getListBookStateQuery($schoolId: Int!) {\n    library_state(\n      where: {deleted_at: {_is_null: true}, school_id: {_eq: $schoolId}}\n    ) {\n      id\n      code\n    }\n  }\n";
export declare const getQrPrefixCodeQuery = "\n  query getQrPrefixCodeQuery($id: Int!) {\n    library_warehouse(where: {id: {_eq: $id}}) {\n      qr_code_prefix\n      tem_name\n    }\n  }\n";
export declare const getBookScanReturnQueryV2 = "\n  query getBookScanReturnQueryV2(\n    $code: String!\n    $school_id: Int!\n    $warehouseId: Int!\n    $currentSchoolYearId: Int!\n  ) {\n    library_dang_ki_ca_biet(\n      where: {\n        deleted_at: {_is_null: true}\n        code: {_eq: $code}\n        school_id: {_eq: $school_id}\n        warehouse_id: {_eq: $warehouseId}\n        library_book_copy: {\n          deleted_at: {_is_null: true}, \n          library_book: {\n            deleted_at: {_is_null: true}\n          }\n        }\n      }\n    ) {\n      id\n      pre_state\n      code\n      library_book_copy {\n        library_book_images(where: {deleted_at: {_is_null: true}}) {\n          url\n        }\n        library_book {\n          title\n        }\n      }\n      state_id\n      library_borrow_books(where: {return_date:{_is_null: true} library_borrow_ticket:{library_ticket_state:{code:{_eq: \"BORROWED\"}}} deleted_at: {_is_null: true}}) {\n        id\n        library_borrow_ticket {\n          id\n          library_borrow_books(where: {deleted_at: {_is_null: true}}) {\n            return_date\n          }\n          actual_borrow_date\n          expect_return_date\n          user {\n            full_name\n            user_roles(where: {deleted_at: {_is_null: true}}) {\n              role {\n                role_code\n                name\n              }\n            }\n            profile_staff {\n              user_code\n            }\n            profile_student {\n              user_code\n            }\n            profile_teacher {\n              user_code\n            }\n            classroom_students(\n              where: {\n                deleted_at: {_is_null: true}\n                classroom: {school_year_id: {_eq: $currentSchoolYearId}}\n              }\n            ) {\n              classroom {\n                name\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n";
export declare const queryGetPrefixCode = "\n  query queryGetPrefixCode($id: Int!) {\n    library_warehouse(where: {id: {_eq: $id}}) {\n      qr_code_prefix\n    }\n  }\n";
export declare const getWarehouseIdByEducationalLevelCodeQuery = "\n  query getWarehouseIdByEducationalLevelCodeQuery(\n    $educationalLevelCode: String!\n    $schoolId: Int!\n  ) {\n    library_warehouse_educational_level(\n      where: {educational_level: {school_id: {_eq: $schoolId} code: {_eq: $educationalLevelCode}}}\n    ) {\n      warehouse_id\n    }\n  }\n";
export declare const searchBookBorrowQuery = "\n  query searchBookBorrowQuery(\n    $school_id: Int!\n    $warehouseId: Int!\n    $code: String!\n  ) {\n    library_dang_ki_ca_biet(\n      where: {\n        code: {_eq: $code}\n        warehouse_id: {_eq: $warehouseId}\n        school_id: {_eq: $school_id}\n        deleted_at: {_is_null: true}\n        library_book_copy: {\n          deleted_at: {_is_null: true}\n          library_book: {deleted_at: {_is_null: true}}\n        }\n      }\n    ) {\n      id\n      code\n      state_id\n      library_state {\n        name\n        code\n      }\n      library_book_copy {\n        id\n        library_book_images(where: {deleted_at: {_is_null: true}}) {\n          url\n        }\n        library_book {\n          title\n        }\n      }\n    }\n  }\n";
export declare const searchBookForModalBorrowQuery: (schoolId: any, warehouseId: number) => {
    enable: boolean;
    keyResult: string;
    query: string;
};
export declare const getDataSelectQuery: (educationalLevelCode: string) => string;
export declare const searchUserBorrow: (schoolId: number, currentSchoolYearId: number, filterProfile: string) => {
    enable: boolean;
    keyResult: string;
    query: string;
};
