import type { Thunk, ObjMap } from './definitions'; export declare function resolveMaybeThunk(thingOrThunk: Thunk): T; export declare function camelCase(str: string): string; export declare function getPluralName(name: string): string; export declare function upperFirst(str: string): string; export declare function clearName(str: string): string; export declare function omit(obj: Record, keys: string | string[]): Record; export declare function only(obj: Record, keys: string | string[]): Record; export declare function inspect(value: unknown): string; export declare function forEachKey(obj: { [key: string]: V; } | ObjMap, callback: (value: V, key: string) => void): void; export declare function mapEachKey(obj: T, callback: (value: NonNullable[keyof NonNullable], key: keyof NonNullable) => NewV): T extends undefined ? undefined : ObjMap; export declare function keyValMap(list: ReadonlyArray, keyFn: (item: T) => string, valFn: (item: T) => V): ObjMap; export declare function keyMap(list: ReadonlyArray, keyFn: (item: T) => string): ObjMap; export declare function invariant(condition: unknown, message?: string): asserts condition; //# sourceMappingURL=misc.d.ts.map