import { BookingInsuranceList } from '@/portal/modules/booking/components/BookingInsuranceList';
import { BaseComponent } from '@/shared/base/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);
  }
}
