1 | import { IConstruct } from 'constructs';
|
2 | import { Intrinsic } from './private/intrinsic';
|
3 | import { IPostProcessor, IResolveContext } from './resolvable';
|
4 | import { Stack } from './stack';
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | export declare function capitalizePropertyNames(construct: IConstruct, obj: any): any;
|
10 |
|
11 |
|
12 |
|
13 | export declare function ignoreEmpty(obj: any): any;
|
14 |
|
15 |
|
16 |
|
17 | export declare function filterUndefined(obj: any): any;
|
18 |
|
19 |
|
20 |
|
21 | export declare class PostResolveToken extends Intrinsic implements IPostProcessor {
|
22 | private readonly processor;
|
23 | constructor(value: any, processor: (x: any) => any);
|
24 | resolve(context: IResolveContext): any;
|
25 | postProcess(o: any, _context: IResolveContext): any;
|
26 | }
|
27 | /**
|
28 | * @returns the list of stacks that lead from the top-level stack (non-nested) all the way to a nested stack.
|
29 | */
|
30 | export declare function pathToTopLevelStack(s: Stack): Stack[];
|
31 | /**
|
32 | * Given two arrays, returns the last common element or `undefined` if there
|
33 | * isn't (arrays are foriegn).
|
34 | */
|
35 | export declare function findLastCommonElement<T>(path1: T[], path2: T[]): T | undefined;
|
36 | export declare function undefinedIfAllValuesAreEmpty(object: object): object | undefined;
|