import type { ColumnBuilderBaseConfig, MakeColumnConfig } from '../../column-builder.js'; import type { ColumnBaseConfig } from '../../column.js'; import { entityKind } from '../../entity.js'; import type { AnyPgTable } from '../table.js'; import { PgColumn } from './common.js'; import { PgDateColumnBaseBuilder } from './date.common.js'; import type { Precision } from './timestamp.js'; export type PgTimeBuilderInitial = PgTimeBuilder<{ name: TName; dataType: 'string'; columnType: 'PgTime'; data: string; driverParam: string; enumValues: undefined; }>; export declare class PgTimeBuilder> extends PgDateColumnBaseBuilder { readonly withTimezone: boolean; readonly precision: number | undefined; static readonly [entityKind]: string; constructor(name: T['name'], withTimezone: boolean, precision: number | undefined); /** @internal */ build(table: AnyPgTable<{ name: TTableName; }>): PgTime>; } export declare class PgTime> extends PgColumn { static readonly [entityKind]: string; readonly withTimezone: boolean; readonly precision: number | undefined; constructor(table: AnyPgTable<{ name: T['tableName']; }>, config: PgTimeBuilder['config']); getSQLType(): string; } export interface TimeConfig { precision?: Precision; withTimezone?: boolean; } export declare function time(): PgTimeBuilderInitial<''>; export declare function time(config?: TimeConfig): PgTimeBuilderInitial<''>; export declare function time(name: TName, config?: TimeConfig): PgTimeBuilderInitial; //# sourceMappingURL=time.d.ts.map