import { AutoEncoder } from '@simonbackx/simple-encoding'; import { BooleanStatus } from './MemberDetails.js'; /** * Possibles status returned from uitpas api * https://docs.publiq.be/docs/uitpas/uitpas-api/reference/operations/get-a-pass */ export declare enum UitpasSocialTariffStatus { Unknown = "Unknown", Active = "Active", Expired = "Expired", None = "None" } /** * Data returned from uitpas api. * https://docs.publiq.be/docs/uitpas/uitpas-api/reference/operations/get-a-pass */ export declare class UitpasSocialTariff extends AutoEncoder { status: UitpasSocialTariffStatus; /** * Exact expiration date of the passholder's entitlement to a social tariff. This property must not be used to determine the social tariff status, because status can be ACTIVE while the endDate is in the past during a 'grace period'. This property is not available when status is NONE. */ endDate: Date | null; updatedAt: Date; /** * @returns true if updated more than 1 week ago */ isUpdateOutdated(): boolean; /** * Whether a social tariff update is required for saving or registering the member. * @param requiresFinancialSupport * @returns */ shouldUpdateForRegsitration(requiresFinancialSupport: BooleanStatus | null): boolean; } export declare class UitpasNumberDetails extends AutoEncoder { uitpasNumber: string; socialTariff: UitpasSocialTariff; get isActive(): boolean; } //# sourceMappingURL=UitpasNumberDetails.d.ts.map