1 | import { CollectionBuilder, Collection, SerializePath, SerializeOptions } from './StructureNodes';
|
2 | export interface ChildResolverOptions {
|
3 | index: number;
|
4 | parent: Collection;
|
5 | parentPath?: SerializePath;
|
6 | serializeOptions?: SerializeOptions;
|
7 | }
|
8 | export declare type ItemChild = CollectionBuilder | Collection | Function | undefined;
|
9 | interface ChildObservable {
|
10 | subscribe: (child: ItemChild | Promise<ItemChild>) => {};
|
11 | }
|
12 | export interface ChildResolver {
|
13 | (itemId: string, options: ChildResolverOptions): ItemChild | Promise<ItemChild> | ChildObservable | undefined;
|
14 | }
|
15 | export {};
|