//#region src/utils/object.d.ts
/**
 * Rename a key in an object by keeping the element order
 *
 * @param obj The original object
 * @param oldKey The key in the object that needs to be renamed
 * @param newKey The new key name to replace the old key
 * @returns A new object with the renamed key
 */
declare const renameKey: <T extends object>(obj: T, oldKey: keyof T, newKey: string) => T;
/**
 * Remove a key from an object
 *
 * @param obj The original object
 * @param key The key in the object that needs to be removed
 * @returns A new object without the specified key
 */
declare const removeKey: <T extends object>(obj: T, key: keyof T) => T;
//#endregion
export { removeKey, renameKey };
//# sourceMappingURL=object.d.ts.map