import type { PropsWithChildren } from 'react'; import type { GridProps } from '../Grid'; import type { HeaderParams } from '../Header/types'; export type LayoutWithoutSidebarProps = PropsWithChildren<{ /** * Объект props компонента Header */ header: HeaderParams; /** * Оборачивать ли содержимое в компонент Grid */ hasGrid?: boolean; /** * Объект props компонента Grid */ grid?: GridProps; /** * Счётчики */ counters?: { [key: string]: number; }; /** * Максимальное число в счётчиках */ countersMaxNumber?: number; }>;