import type { ColumnBuilderBaseConfig } from "../../column-builder.js";
import type { ColumnBaseConfig } from "../../column.js";
import { entityKind } from "../../entity.js";
import { type Writable } from "../../utils.js";
import { MsSqlColumn, MsSqlColumnBuilder } from "./common.js";
export type MsSqlCharBuilderInitial<TName extends string, TEnum extends [string, ...string[]]> = MsSqlCharBuilder<{
    name: TName;
    dataType: 'string';
    columnType: 'MsSqlChar';
    data: TEnum[number];
    driverParam: number | string;
    enumValues: TEnum;
    generated: undefined;
}>;
export declare class MsSqlCharBuilder<T extends ColumnBuilderBaseConfig<'string', 'MsSqlChar'>> extends MsSqlColumnBuilder<T, MsSqlCharConfig<T['enumValues']>> {
    static readonly [entityKind]: string;
}
export declare class MsSqlChar<T extends ColumnBaseConfig<'string', 'MsSqlChar'>> extends MsSqlColumn<T, MsSqlCharConfig<T['enumValues']>> {
    static readonly [entityKind]: string;
    readonly length: number | undefined;
    readonly enumValues: T["enumValues"] | undefined;
    readonly nonUnicode: boolean;
    getSQLType(): string;
}
export type MsSqlCharConfig<TEnum extends string[] | readonly string[] | undefined> = MsSqlCharConfigInitial<TEnum> & {
    nonUnicode: boolean;
};
export type MsSqlCharConfigInitial<TEnum extends string[] | readonly string[] | undefined = string[] | readonly string[] | undefined> = {
    length?: number;
    enum?: TEnum;
};
export declare function char(): MsSqlCharBuilderInitial<'', [string, ...string[]]>;
export declare function char<U extends string, T extends Readonly<[U, ...U[]]>>(config?: MsSqlCharConfigInitial<T | Writable<T>>): MsSqlCharBuilderInitial<'', Writable<T>>;
export declare function char<TName extends string, U extends string, T extends Readonly<[U, ...U[]]>>(name: TName, config?: MsSqlCharConfigInitial<T | Writable<T>>): MsSqlCharBuilderInitial<TName, Writable<T>>;
export declare function nchar(): MsSqlCharBuilderInitial<'', [string, ...string[]]>;
export declare function nchar<U extends string, T extends Readonly<[U, ...U[]]>>(config?: MsSqlCharConfigInitial<T | Writable<T>>): MsSqlCharBuilderInitial<'', Writable<T>>;
export declare function nchar<TName extends string, U extends string, T extends Readonly<[U, ...U[]]>>(name: TName, config?: MsSqlCharConfigInitial<T | Writable<T>>): MsSqlCharBuilderInitial<TName, Writable<T>>;
