export declare const isPromiseLikeValue: (value: unknown) => value is Promise; export type Index = Record; export type RequireField = O & { [key in F]: Exclude; }; export declare const errorFromUnknown: (x: unknown) => Error; export declare const dump: (...args: unknown[]) => void; type Include = T extends U ? T : never; export declare const partition: (list: Item[], partitioner: (item: Item) => boolean) => [Item[], Item[]]; export declare function groupBy(items: Item[], keyer: (item: Item) => Key): string extends Key ? Record : { [k in Key]?: Item[]; }; export declare function groupBy(items: Item[], key: Key): { [k in Item[Key] & string]?: Include[]; }; export type RenameKey = { [Key in keyof Obj as Key extends Old ? New : Key]: Obj[Key]; }; export {}; //# sourceMappingURL=prelude.d.ts.map