/*! * @author electricessence / https://github.com/electricessence/ * Licensing: MIT https://github.com/electricessence/TypeScript.NET-Core/blob/master/LICENSE.md */ import KeyValuePair, { KeyValuePairOrTuple } from "./KeyValuePair"; export declare function isKeyValuePair(kvp: any): kvp is KeyValuePair; export declare function assertKey(key: TKey, name?: string): TKey | never; export declare function assertTuple(tuple: ArrayLike, name?: string): void | never; export declare function assertNotUndefined(value: T, name: string): T | never; export declare function extractKeyValue(item: KeyValuePairOrTuple, to: (key: TKey, value: TValue) => TResult): TResult; export default extractKeyValue;