import { ObjectLiteral } from "../typings"; /** Really, it just returns the value you pass */ export declare const getSelf: (state: T) => T; /** Make an object where the keys will have a self getter as value */ export declare const makeSelfGetters: (keys: string[]) => { [k: string]: (state: T) => T; }; /** Get 1st/only key of object */ export declare const firstKey: >(obj: T) => keyof T; /** Get 1st/only prop of object */ export declare const firstProp: >(obj: T) => T[keyof T]; /** Make getter on obj[key] */ export declare const prop: , K extends keyof T>(key: K) => (item: T) => T[K]; //# sourceMappingURL=getters.d.ts.map