/** * Fails to compile when a converter does not destructure every field of its input. * Pass the rest of the destructured input object. */ export declare function assertAllFieldsMapped(_unmapped: Record): void; /** * Returns the object without the keys whose value is undefined. A key with a null value stays. */ export declare function withoutUndefined(obj: NoInfer): T; export declare function copyArray(array: T[]): T[]; export declare function copyArray(array: T[] | undefined): T[] | undefined; export declare function copyArray(array: T[] | null | undefined): T[] | null | undefined; export declare function mapArray(array: T[], fn: (item: T) => R): R[]; export declare function mapArray(array: T[] | undefined, fn: (item: T) => R): R[] | undefined; export declare function mapRecord(record: { [key: string]: T; } | undefined, fn: (item: T) => R): { [key: string]: R; } | undefined; //# sourceMappingURL=declarativeFields.d.ts.map