import CoUxLayoutPageHeader from '../../../../components/10x/ux/ux-layout-page-header.js'
import EuiBasePage from '../eui-base.po.js'

export default class LayoutPageHeader extends EuiBasePage {

  constructor() {
      super();
  }
  layoutPageHeaderByIndex(index) {
    const layoutPageHeader1 =  new CoUxLayoutPageHeader(this.mainContent);
    return layoutPageHeader1.byIndex(index);
  }
  layoutPageHeaderByTextContains(text) {
    let layoutPageHeader1 = new CoUxLayoutPageHeader(this.mainContent);
    return layoutPageHeader1.byTextContains(text);
  }
  layoutPageHeaderByTextEqualsAndIndex(text, index, normalize=true) {
    let layoutPageHeader1 = new CoUxLayoutPageHeader(this.mainContent).layoutPageHeaderCO;
    return layoutPageHeader1.byTextEqualsAndIndex(text, index, normalize);
  }
  layoutPageHeaderFromSectionById(id) {
    return new CoUxLayoutPageHeader(this.sectionById(id));
  }
  layoutPageHeaderFromSectionWithIdByIndex(id, index) {
    const layoutPageHeader1 = new CoUxLayoutPageHeader(this.sectionById(id));
    return layoutPageHeader1.byIndex(index);
  }
}


