import type { AnyCockroachTable } from "../table.js";
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 CockroachJsonbBuilderInitial<TName extends string> = CockroachJsonbBuilder<{
    name: TName;
    dataType: 'json';
    columnType: 'CockroachJsonb';
    data: unknown;
    driverParam: unknown;
    enumValues: undefined;
}>;
export declare class CockroachJsonbBuilder<T extends ColumnBuilderBaseConfig<'json', 'CockroachJsonb'>> extends CockroachColumnBuilder<T> {
    static readonly [entityKind]: string;
    constructor(name: T['name']);
}
export declare class CockroachJsonb<T extends ColumnBaseConfig<'json', 'CockroachJsonb'>> extends CockroachColumn<T> {
    static readonly [entityKind]: string;
    constructor(table: AnyCockroachTable<{
        name: T['tableName'];
    }>, config: CockroachJsonbBuilder<T>['config']);
    getSQLType(): string;
    mapToDriverValue(value: T['data']): string;
    mapFromDriverValue(value: T['data'] | string): T['data'];
}
export declare function jsonb(): CockroachJsonbBuilderInitial<''>;
export declare function jsonb<TName extends string>(name: TName): CockroachJsonbBuilderInitial<TName>;
