/*! Copyright (c) 2019, XAPPmedia */ import { Locale, Localizable } from "stentor-models"; /** * Allows one to omit certain keys in the interface. * * Example: * * interface First { * param1: string; * param2: string; * param3: string; * } * * type Second = Omit * * let second: Second = { param1: "Hello", param3: "World" }; * second.param2 = "There"; // Compile error. * */ export type Omit = Pick>; /** * This will flatten a LocaleObj and return the object with the overridden attributes. */ export declare function localize>(localeObj?: L, locale?: Locale): Omit>;