import duckdb from '@duckdb/node-bindings'; import { DuckDBUnionType } from '../DuckDBType'; import { DuckDBUnionValue } from '../values'; import { DuckDBVector } from './DuckDBVector'; import { DuckDBStructVector } from './DuckDBStructVector'; export declare class DuckDBUnionVector extends DuckDBVector { private readonly unionType; private readonly structVector; constructor(unionType: DuckDBUnionType, structVector: DuckDBStructVector); static fromRawVector(unionType: DuckDBUnionType, vector: duckdb.Vector, itemCount: number): DuckDBUnionVector; get type(): DuckDBUnionType; get itemCount(): number; getItem(itemIndex: number): DuckDBUnionValue | null; setItem(itemIndex: number, value: DuckDBUnionValue | null): void; flush(): void; slice(offset: number, length: number): DuckDBUnionVector; }