export declare type PropOr = T extends Partial> ? T[P] : D; export declare type UnionKeys = T extends unknown ? keyof T : never; declare type AddOptionalKeys = { readonly [P in K]?: undefined; }; /** * @see https://millsp.github.io/ts-toolbelt/modules/union_strict.html */ export declare type Deunionize = T extends object ? T & AddOptionalKeys, keyof T>> : T; /** * Expose properties from all union variants. * @see https://github.com/telegraf/telegraf/issues/1388#issuecomment-791573609 * @see https://millsp.github.io/ts-toolbelt/modules/union_strict.html */ export declare function deunionize(t: T): Deunionize; export {}; //# sourceMappingURL=deunionize.d.ts.map