import { BookingInsuranceList } from '@/apps/portal/modules/booking/components/BookingInsuranceList';
import { BaseComponent } from '@/shared/modules/base/components/BaseComponent';

export class BookingInsuranceSection extends BaseComponent {
  private readonly insuranceList = new BookingInsuranceList(this.host.getByTestId('insurance-list'));

  select(insurance: string): Promise<void> {
    return this.insuranceList.select(insurance);
  }
}
