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 CockroachBigInt53BuilderInitial<TName extends string> = CockroachBigInt53Builder<{
    name: TName;
    dataType: 'number';
    columnType: 'CockroachBigInt53';
    data: number;
    driverParam: number | string;
    enumValues: undefined;
}>;
export declare class CockroachBigInt53Builder<T extends ColumnBuilderBaseConfig<'number', 'CockroachBigInt53'>> extends CockroachIntColumnBaseBuilder<T> {
    static readonly [entityKind]: string;
    constructor(name: T['name']);
}
export declare class CockroachBigInt53<T extends ColumnBaseConfig<'number', 'CockroachBigInt53'>> extends CockroachColumn<T> {
    static readonly [entityKind]: string;
    getSQLType(): string;
    mapFromDriverValue(value: number | string): number;
}
export type CockroachBigInt64BuilderInitial<TName extends string> = CockroachBigInt64Builder<{
    name: TName;
    dataType: 'bigint';
    columnType: 'CockroachBigInt64';
    data: bigint;
    driverParam: string;
    enumValues: undefined;
}>;
export declare class CockroachBigInt64Builder<T extends ColumnBuilderBaseConfig<'bigint', 'CockroachBigInt64'>> extends CockroachIntColumnBaseBuilder<T> {
    static readonly [entityKind]: string;
    constructor(name: T['name']);
}
export declare class CockroachBigInt64<T extends ColumnBaseConfig<'bigint', 'CockroachBigInt64'>> extends CockroachColumn<T> {
    static readonly [entityKind]: string;
    getSQLType(): string;
    mapFromDriverValue(value: string): bigint;
}
export interface CockroachBigIntConfig<T extends 'number' | 'bigint' = 'number' | 'bigint'> {
    mode: T;
}
export declare function bigint<TMode extends CockroachBigIntConfig['mode']>(config: CockroachBigIntConfig<TMode>): TMode extends 'number' ? CockroachBigInt53BuilderInitial<''> : CockroachBigInt64BuilderInitial<''>;
export declare function bigint<TName extends string, TMode extends CockroachBigIntConfig['mode']>(name: TName, config: CockroachBigIntConfig<TMode>): TMode extends 'number' ? CockroachBigInt53BuilderInitial<TName> : CockroachBigInt64BuilderInitial<TName>;
export declare function int8<TMode extends CockroachBigIntConfig['mode']>(config: CockroachBigIntConfig<TMode>): TMode extends 'number' ? CockroachBigInt53BuilderInitial<''> : CockroachBigInt64BuilderInitial<''>;
export declare function int8<TName extends string, TMode extends CockroachBigIntConfig['mode']>(name: TName, config: CockroachBigIntConfig<TMode>): TMode extends 'number' ? CockroachBigInt53BuilderInitial<TName> : CockroachBigInt64BuilderInitial<TName>;
