import type { ColumnBuilderBaseConfig } from "../../column-builder.js";
import type { ColumnBaseConfig } from "../../column.js";
import { entityKind } from "../../entity.js";
import type { AnyMsSqlTable } from "../table.js";
import { MsSqlColumnBuilderWithIdentity, MsSqlColumnWithIdentity } from "./common.js";
export type MsSqlBigIntBuilderInitial<TName extends string, TMode extends 'number' | 'bigint' | 'string'> = MsSqlBigIntBuilder<{
    name: TName;
    dataType: 'bigint';
    columnType: 'MsSqlBigInt';
    data: TMode extends 'string' ? string : TMode extends 'number' ? number : bigint;
    driverParam: string;
    enumValues: undefined;
    generated: undefined;
}>;
export declare class MsSqlBigIntBuilder<T extends ColumnBuilderBaseConfig<'bigint', 'MsSqlBigInt'>> extends MsSqlColumnBuilderWithIdentity<T, MsSqlBigIntConfig> {
    static readonly [entityKind]: string;
    constructor(name: T['name'], config: MsSqlBigIntConfig);
}
export declare class MsSqlBigInt<T extends ColumnBaseConfig<'bigint', 'MsSqlBigInt'>> extends MsSqlColumnWithIdentity<T, MsSqlBigIntConfig> {
    static readonly [entityKind]: string;
    readonly mode: 'number' | 'bigint' | 'string';
    getSQLType(): string;
    constructor(table: AnyMsSqlTable<{
        name: T['tableName'];
    }>, config: MsSqlBigIntBuilder<T>['config']);
    mapFromDriverValue(value: string): T['data'];
}
interface MsSqlBigIntConfig<T extends 'number' | 'bigint' | 'string' = 'number' | 'bigint' | 'string'> {
    mode: T;
}
export declare function bigint<TMode extends MsSqlBigIntConfig['mode']>(config: MsSqlBigIntConfig<TMode>): MsSqlBigIntBuilderInitial<'', TMode>;
export declare function bigint<TName extends string, TMode extends MsSqlBigIntConfig['mode']>(name: TName, config: MsSqlBigIntConfig<TMode>): MsSqlBigIntBuilderInitial<TName, TMode>;
export {};
