import type { Logger } from 'src/core/server' ; import type { LayoutSelectorDictionary , Size } from '../../common/layout' ; import type { HeadlessChromiumDriver } from '../browsers' ; import type { BaseLayout } from './base_layout' ; interface LayoutSelectors { /**
     * Element selectors determining the page state.
     */ selectors : LayoutSelectorDictionary ; param browser param logger positionElements ? ( browser , logger ) : Promise < void > ; } export type Layout = BaseLayout & LayoutSelectors & Partial < Size > ; export const DEFAULT_SELECTORS = { screenshot : '[data-shared-items-container]' , renderComplete : '[data-shared-item]' , renderError : '[data-render-error]' , renderErrorAttribute : 'data-render-error' , itemsCountAttribute : 'data-shared-items-count' , timefilterDurationAttribute : 'data-shared-timefilter-duration' , } ; export { createLayout } from './create_layout' ;