2020-12-22 05:29:13 +00:00
|
|
|
import { District as DistrictType, DistrictWealthType, SenatorDistrict } from './types/Types'
|
|
|
|
import { ReturnedUser } from './interfaces/Interfaces'
|
2021-06-15 15:36:22 +00:00
|
|
|
|
2020-12-22 05:29:13 +00:00
|
|
|
declare class District {
|
|
|
|
private readonly districtName
|
|
|
|
get name (): DistrictType;
|
|
|
|
set name (name: DistrictType);
|
|
|
|
constructor (name: DistrictType);
|
|
|
|
getWealth (type: DistrictWealthType): Promise<number>;
|
|
|
|
getSenator (district?: SenatorDistrict): Promise<ReturnedUser>;
|
|
|
|
}
|
|
|
|
export default District
|