export type UserWithLegacySelectedCalendars<TCalendar, TUser> = TUser & {
    selectedCalendars: TCalendar[];
};
type UserWithSelectedCalendars<TCalendar, TUser> = Omit<TUser, "selectedCalendars"> & {
    allSelectedCalendars: TCalendar[];
    userLevelSelectedCalendars: TCalendar[];
};
export declare function withSelectedCalendars<TCalendar extends {
    eventTypeId: number | null;
}, TUser extends {
    selectedCalendars: TCalendar[];
}>(user: UserWithLegacySelectedCalendars<TCalendar, TUser>): UserWithSelectedCalendars<TCalendar, TUser>;
export {};
//# sourceMappingURL=withSelectedCalendars.d.ts.map