/** * A constant used to define a property that should be discarded from a {@link RequiredOrDiscard} object. */ export declare const DISCARD_PROPERTY: { _dd_meta_: string; }; /** * Used to change the type of every property of an object to be either required or {@link DISCARD_PROPERTY}. */ export type RequiredOrDiscard = { [K in keyof T]-?: T[K] | typeof DISCARD_PROPERTY; }; /** * Removes all entries of value {@link DISCARD_PROPERTY} from the given object * @param obj The object to remove the {@link DISCARD_PROPERTY} entries from. * @returns The object without the {@link DISCARD_PROPERTY} entries. */ export declare const removeDiscardProperties: >(obj: T) => { [K in keyof T]: T[K] extends null ? undefined : T[K]; }; //# sourceMappingURL=utils.d.ts.map