1 | import type { IntrinsicSizes, LayoutConstraints, LayoutOptions } from './types';
|
2 | import type { FragmentResultOptions, FragmentResult } from './FragmentResult';
|
3 | import type { LayoutChildren } from './LayoutChildren';
|
4 | import type { LayoutEdges } from './LayoutEdges';
|
5 | export declare abstract class AbstractLayoutDefinition {
|
6 | static inputProperties: string[];
|
7 | static childrenInputProperties: string[];
|
8 | static layoutOptions: LayoutOptions;
|
9 | abstract intrinsicSizes(children: LayoutChildren[], edges: LayoutEdges, styleMap: Map<string, any>): Promise<IntrinsicSizes>;
|
10 | abstract layout(children: LayoutChildren[], edges: LayoutEdges, constraints: LayoutConstraints, styleMap: Map<string, any>): Promise<FragmentResultOptions | FragmentResult>;
|
11 | }
|
12 |
|
13 |
|
14 |
|
15 | export declare type LayoutDefinitionCtor = {
|
16 | new (): AbstractLayoutDefinition;
|
17 | inputProperties: string[];
|
18 | childrenInputProperties: string[];
|
19 | layoutOptions: LayoutOptions;
|
20 | };
|