import type { ColumnBuilderBaseConfig } from "../../column-builder.js";
import type { ColumnBaseConfig } from "../../column.js";
import { entityKind } from "../../entity.js";
import { CockroachColumn } from "./common.js";
import { CockroachIntColumnBaseBuilder } from "./int.common.js";
export type CockroachSmallIntBuilderInitial<TName extends string> = CockroachSmallIntBuilder<{
    name: TName;
    dataType: 'number';
    columnType: 'CockroachSmallInt';
    data: number;
    driverParam: number | string;
    enumValues: undefined;
}>;
export declare class CockroachSmallIntBuilder<T extends ColumnBuilderBaseConfig<'number', 'CockroachSmallInt'>> extends CockroachIntColumnBaseBuilder<T> {
    static readonly [entityKind]: string;
    constructor(name: T['name']);
}
export declare class CockroachSmallInt<T extends ColumnBaseConfig<'number', 'CockroachSmallInt'>> extends CockroachColumn<T> {
    static readonly [entityKind]: string;
    getSQLType(): string;
    mapFromDriverValue: (value: number | string) => number;
}
export declare function smallint(): CockroachSmallIntBuilderInitial<''>;
export declare function smallint<TName extends string>(name: TName): CockroachSmallIntBuilderInitial<TName>;
export declare function int2(): CockroachSmallIntBuilderInitial<''>;
export declare function int2<TName extends string>(name: TName): CockroachSmallIntBuilderInitial<TName>;
