import type { GeneratorDescriptorChildren } from '@baseplate-dev/sync'; /** * Strip object of any values that are empty arrays, empty objects, null, or undefined */ export declare function stripEmptyGeneratorChildren(children: GeneratorDescriptorChildren): GeneratorDescriptorChildren; /** * Strip object of any values that are undefined */ export declare function stripUndefinedValues(obj: Record): Record; /** * Returns undefined if the value is an empty object (as defined by all values are undefined)/array/null, otherwise return value. */ export declare function undefinedIfEmpty(value: T): T | undefined; /** * Returns undefined if the value is falsy, otherwise return value. */ export declare function undefinedIfFalsy(value: T): T | undefined; //# sourceMappingURL=strip.d.ts.map