import type { ColumnBuilderBaseConfig } from "../../column-builder.js";
import type { ColumnBaseConfig } from "../../column.js";
import { entityKind } from "../../entity.js";
import { CockroachColumn, CockroachColumnBuilder } from "./common.js";
export type CockroachVectorBuilderInitial<TName extends string, TDimensions extends number> = CockroachVectorBuilder<{
    name: TName;
    dataType: 'array';
    columnType: 'CockroachVector';
    data: number[];
    driverParam: string;
    enumValues: undefined;
    dimensions: TDimensions;
}>;
export declare class CockroachVectorBuilder<T extends ColumnBuilderBaseConfig<'array', 'CockroachVector'> & {
    dimensions: number;
}> extends CockroachColumnBuilder<T, {
    dimensions: T['dimensions'];
}, {
    dimensions: T['dimensions'];
}> {
    static readonly [entityKind]: string;
    constructor(name: string, config: CockroachVectorConfig<T['dimensions']>);
}
export declare class CockroachVector<T extends ColumnBaseConfig<'array', 'CockroachVector'> & {
    dimensions: number | undefined;
}> extends CockroachColumn<T, {
    dimensions: T['dimensions'];
}, {
    dimensions: T['dimensions'];
}> {
    static readonly [entityKind]: string;
    readonly dimensions: T['dimensions'];
    getSQLType(): string;
    mapToDriverValue(value: unknown): unknown;
    mapFromDriverValue(value: string): unknown;
}
export interface CockroachVectorConfig<TDimensions extends number = number> {
    dimensions: TDimensions;
}
export declare function vector<D extends number>(config: CockroachVectorConfig<D>): CockroachVectorBuilderInitial<'', D>;
export declare function vector<TName extends string, D extends number>(name: TName, config: CockroachVectorConfig<D>): CockroachVectorBuilderInitial<TName, D>;
