import { j as WalkedField } from "../../types-BBQaEPfE.mjs"; //#region src/lit/renderers/recordHelpers.d.ts /** * Compute the default value for a freshly added array element or * record entry based on its element / value schema. Mirrors * `react/headlessRenderers.tsx::defaultRecordValue` so the same * field type produces the same default across renderers. */ declare function defaultRecordValueLit(valueType: WalkedField): unknown; /** * Generate a unique, currently-unused key for a new record entry. * Picks the first of `key`, `key-1`, `key-2`, … that is not in * `existing`. Mirrors `react/headlessRenderers.tsx::nextRecordKey`. */ declare function nextRecordKeyLit(existing: readonly string[], base?: string): string; /** * Rename a key in an object while preserving insertion order. Returns * the original reference when the rename is a no-op (same key) or * when the new key collides with an existing entry. Mirrors * `react/headlessRenderers.tsx::renameRecordKey`. */ declare function renameRecordKeyLit(obj: Record, oldKey: string, newKey: string): Record; //#endregion export { defaultRecordValueLit, nextRecordKeyLit, renameRecordKeyLit };