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 { type Equal } from "../../utils.js";
import { MsSqlColumn } from "./common.js";
import type { MsSqlDatetimeConfig } from "./date.common.js";
import { MsSqlDateColumnBaseBuilder } from "./date.common.js";
export type MsSqlDateTimeOffsetBuilderInitial<TName extends string> = MsSqlDateTimeOffsetBuilder<{
    name: TName;
    dataType: 'date';
    columnType: 'MsSqlDateTimeOffset';
    data: Date;
    driverParam: string | Date;
    enumValues: undefined;
    generated: undefined;
}>;
export declare class MsSqlDateTimeOffsetBuilder<T extends ColumnBuilderBaseConfig<'date', 'MsSqlDateTimeOffset'>> extends MsSqlDateColumnBaseBuilder<T, MsSqlDatetimeConfig> {
    static readonly [entityKind]: string;
    constructor(name: T['name'], config: MsSqlDatetimeConfig | undefined);
}
export declare class MsSqlDateTimeOffset<T extends ColumnBaseConfig<'date', 'MsSqlDateTimeOffset'>> extends MsSqlColumn<T> {
    static readonly [entityKind]: string;
    readonly precision: number | undefined;
    constructor(table: AnyMsSqlTable<{
        name: T['tableName'];
    }>, config: MsSqlDateTimeOffsetBuilder<T>['config']);
    getSQLType(): string;
}
export type MsSqlDateTimeOffsetStringBuilderInitial<TName extends string> = MsSqlDateTimeOffsetStringBuilder<{
    name: TName;
    dataType: 'string';
    columnType: 'MsSqlDateTimeOffsetString';
    data: string;
    driverParam: string | Date;
    enumValues: undefined;
    generated: undefined;
}>;
export declare class MsSqlDateTimeOffsetStringBuilder<T extends ColumnBuilderBaseConfig<'string', 'MsSqlDateTimeOffsetString'>> extends MsSqlDateColumnBaseBuilder<T, MsSqlDatetimeConfig> {
    static readonly [entityKind]: string;
    constructor(name: T['name'], config: MsSqlDatetimeConfig | undefined);
}
export declare class MsSqlDateTimeOffsetString<T extends ColumnBaseConfig<'string', 'MsSqlDateTimeOffsetString'>> extends MsSqlColumn<T> {
    static readonly [entityKind]: string;
    readonly precision: number | undefined;
    constructor(table: AnyMsSqlTable<{
        name: T['tableName'];
    }>, config: MsSqlDateTimeOffsetStringBuilder<T>['config']);
    getSQLType(): string;
    mapFromDriverValue(value: Date | string | null): string | null;
}
export declare function datetimeoffset(): MsSqlDateTimeOffsetBuilderInitial<''>;
export declare function datetimeoffset<TMode extends MsSqlDatetimeConfig['mode'] & {}>(config?: MsSqlDatetimeConfig<TMode>): Equal<TMode, 'string'> extends true ? MsSqlDateTimeOffsetStringBuilderInitial<''> : MsSqlDateTimeOffsetBuilderInitial<''>;
export declare function datetimeoffset<TName extends string, TMode extends MsSqlDatetimeConfig['mode'] & {}>(name: TName, config?: MsSqlDatetimeConfig<TMode>): Equal<TMode, 'string'> extends true ? MsSqlDateTimeOffsetStringBuilderInitial<TName> : MsSqlDateTimeOffsetBuilderInitial<TName>;
