export declare const getWithKey: (obj: T, key: K) => T[K];