/** * True only when `value` is a **genuine** Firestore `VectorValue` — an `instanceof` the runtime * constructor `FieldValue.vector()` produces. * * This is a nominal (prototype-chain) identity an ordinary object cannot satisfy: a hand-built map * retains `Object.prototype`, so adding spoofed `toArray()`/`isEqual()` methods (or a `_values` * array) does not make it an instance. That closes the forged-map validation bypass that a * structural method-presence check left open (review T2 / finding B7). When the installed SDK * exposes no `FieldValue.vector` (no vector support), no genuine `VectorValue` can exist, so this * returns `false` for everything. Component finiteness/dimension are validated separately from the * public `toArray()` (see {@link genuineVectorComponents} / {@link areFiniteVectorComponents}). */ export declare function isGenuineVectorValue(value: unknown): boolean; /** * Returns the numeric components of a **genuine** `VectorValue` via its public `toArray()` API, or * `null` when `value` is not a genuine `VectorValue`. Callers validate finiteness and dimensions * against these components without reading the private `_values` field. */ export declare function genuineVectorComponents(value: unknown): number[] | null; /** * True when `values` is a non-empty array of **finite** numbers. `Number.isFinite` rejects `NaN` AND * `±Infinity` (unlike `!Number.isNaN`, which lets infinities through). An empty component list is * not a usable vector, so it is rejected too. */ export declare function areFiniteVectorComponents(values: unknown): values is number[];