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 { PgColumn, PgColumnBuilder } from "./common.js"; export type PgCharBuilderInitial = PgCharBuilder<{ name: TName; dataType: 'string'; columnType: 'PgChar'; data: TEnum[number]; enumValues: TEnum; driverParam: string; length: TLength; }>; export declare class PgCharBuilder & { length?: number | undefined; }> extends PgColumnBuilder { static readonly [entityKind]: string; constructor(name: T['name'], config: PgCharConfig); } export declare class PgChar & { length?: number | undefined; }> extends PgColumn { static readonly [entityKind]: string; readonly length: T["length"]; readonly enumValues: T["enumValues"]; getSQLType(): string; } export interface PgCharConfig { enum?: TEnum; length?: TLength; } export declare function char(): PgCharBuilderInitial<'', [string, ...string[]], undefined>; export declare function char, L extends number | undefined>(config?: PgCharConfig, L>): PgCharBuilderInitial<'', Writable, L>; export declare function char, L extends number | undefined>(name: TName, config?: PgCharConfig, L>): PgCharBuilderInitial, L>;