import type { ValueChild, ValueSegment } from '../../../types/inspector.js'; /** Most children listed per expanded level. */ export declare const MAX_CHILDREN = 100; /** Whether `value` has at least one child to list. Never throws. */ export declare const isExpandable: (value: unknown) => boolean; /** * The first {@link MAX_CHILDREN} children of `value`, and how many more * there are. A value with none gives an empty list. */ export declare const childrenOf: (value: unknown) => { children: ValueChild[]; more: number; }; /** * The child of `value` that `key` names, as {@link childrenOf} numbered it, * or `undefined` when it does not resolve. */ export declare const stepInto: (value: unknown, key: ValueSegment) => { value: unknown; } | undefined; /** * Write the primitive `value` into the slot of `container` that `key` names, * as {@link childrenOf} numbered it: an object key, an array or typed array * index, or the position of a `Map` entry, whose value is replaced. Identity * is kept, as the container is changed in place. Only a slot already holding * a primitive of the same type is written, and a number must be finite. * A `Set` member has no slot, and a frozen container refuses; both give * false, as does anything that does not resolve. Never throws. */ export declare const writeInto: (container: unknown, key: ValueSegment, value: string | number | boolean) => boolean; //# sourceMappingURL=inspect-value.d.ts.map