import type { ColumnBuilderBaseConfig } from "../../column-builder.js";
import type { ColumnBaseConfig } from "../../column.js";
import { entityKind } from "../../entity.js";
import { MsSqlColumn, MsSqlColumnBuilder } from "./common.js";
export type MsSqlBinaryBuilderInitial<TName extends string> = MsSqlBinaryBuilder<{
    name: TName;
    dataType: 'buffer';
    columnType: 'MsSqlBinary';
    data: Buffer;
    driverParam: Buffer;
    enumValues: undefined;
    generated: undefined;
}>;
export declare class MsSqlBinaryBuilder<T extends ColumnBuilderBaseConfig<'buffer', 'MsSqlBinary'>> extends MsSqlColumnBuilder<T, MsSqlBinaryConfig> {
    static readonly [entityKind]: string;
    constructor(name: T['name'], length: number | undefined);
}
export declare class MsSqlBinary<T extends ColumnBaseConfig<'buffer', 'MsSqlBinary'>> extends MsSqlColumn<T, MsSqlBinaryConfig> {
    static readonly [entityKind]: string;
    length: number | undefined;
    getSQLType(): string;
}
export interface MsSqlBinaryConfig {
    length?: number;
}
export declare function binary(): MsSqlBinaryBuilderInitial<''>;
export declare function binary(config?: MsSqlBinaryConfig): MsSqlBinaryBuilderInitial<''>;
export declare function binary<TName extends string>(name: TName, config?: MsSqlBinaryConfig): MsSqlBinaryBuilderInitial<TName>;
