UNPKG

557 BTypeScriptView Raw
1import type { Deferred } from '../../utils';
2import type { LayoutChildren } from './LayoutChildren';
3import type { LayoutFragment } from './LayoutFragment';
4import type { IntrinsicSizes, LayoutConstraints, LayoutTaskType } from './types';
5export declare type LayoutWorkTask = {
6 layoutConstraints: LayoutConstraints;
7 layoutChild: LayoutChildren;
8 taskType: LayoutTaskType.Layout;
9 deferred: Deferred<LayoutFragment>;
10} | {
11 layoutChild: LayoutChildren;
12 taskType: LayoutTaskType.IntrinsicSizes;
13 deferred: Deferred<IntrinsicSizes>;
14};