1 | import { Syringe } from 'mana-syringe';
|
2 | import type { LayoutObject } from './LayoutObject';
|
3 | import { LayoutContext } from './LayoutContext';
|
4 | import type { LayoutFragment } from './LayoutFragment';
|
5 | import type { IntrinsicSizes, LayoutConstraints } from './types';
|
6 | export declare const LayoutChildrenFactory: Syringe.DefinedToken;
|
7 | export interface LayoutChildrenFactory {
|
8 | (options: LayoutChildrenOptions): LayoutChildren;
|
9 | }
|
10 | export declare const LayoutChildrenOptions: Syringe.DefinedToken;
|
11 | export interface LayoutChildrenOptions {
|
12 | node: LayoutObject;
|
13 | }
|
14 | export declare class LayoutChildren {
|
15 | protected readonly _layoutContext: LayoutContext;
|
16 | protected readonly options: LayoutChildrenOptions;
|
17 | node: LayoutObject;
|
18 | readonly styleMap: Map<string, any>;
|
19 | layoutContext: LayoutContext;
|
20 | constructor(_layoutContext: LayoutContext, options: LayoutChildrenOptions);
|
21 | intrinsicSizes(): Promise<IntrinsicSizes>;
|
22 | layoutNextFragment(constraints: LayoutConstraints): Promise<LayoutFragment>;
|
23 | }
|