import type { ColumnBuilderBaseConfig } from "../../column-builder.js"; import type { ColumnBaseConfig } from "../../column.js"; import { entityKind } from "../../entity.js"; import { PgColumn } from "./common.js"; import { PgIntColumnBaseBuilder } from "./int.common.js"; export type PgBigInt53BuilderInitial = PgBigInt53Builder<{ name: TName; dataType: 'number'; columnType: 'PgBigInt53'; data: number; driverParam: number | string; enumValues: undefined; }>; export declare class PgBigInt53Builder> extends PgIntColumnBaseBuilder { static readonly [entityKind]: string; constructor(name: T['name']); } export declare class PgBigInt53> extends PgColumn { static readonly [entityKind]: string; getSQLType(): string; mapFromDriverValue(value: number | string): number; } export type PgBigInt64BuilderInitial = PgBigInt64Builder<{ name: TName; dataType: 'bigint'; columnType: 'PgBigInt64'; data: bigint; driverParam: string; enumValues: undefined; }>; export declare class PgBigInt64Builder> extends PgIntColumnBaseBuilder { static readonly [entityKind]: string; constructor(name: T['name']); } export declare class PgBigInt64> extends PgColumn { static readonly [entityKind]: string; getSQLType(): string; mapFromDriverValue(value: string): bigint; } export interface PgBigIntConfig { mode: T; } export declare function bigint(config: PgBigIntConfig): TMode extends 'number' ? PgBigInt53BuilderInitial<''> : PgBigInt64BuilderInitial<''>; export declare function bigint(name: TName, config: PgBigIntConfig): TMode extends 'number' ? PgBigInt53BuilderInitial : PgBigInt64BuilderInitial;