/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ export declare type Omit = Pick>; export declare const tuple: (...args: T) => T; export declare const tupleNum: (...args: T) => T; export declare type ElementOf = T extends (infer E)[] ? E : T extends readonly (infer F)[] ? F : never; export declare type LiteralUnion = T | (U & {});