import type { AnyCockroachTable } from "../table.js";
import type { ColumnBuilderBaseConfig } from "../../column-builder.js";
import type { ColumnBaseConfig } from "../../column.js";
import { entityKind } from "../../entity.js";
import { CockroachColumn, CockroachColumnWithArrayBuilder } from "./common.js";
import type { Precision } from "./timestamp.js";
export type CockroachTimeBuilderInitial<TName extends string> = CockroachTimeBuilder<{
    name: TName;
    dataType: 'string';
    columnType: 'CockroachTime';
    data: string;
    driverParam: string;
    enumValues: undefined;
}>;
export declare class CockroachTimeBuilder<T extends ColumnBuilderBaseConfig<'string', 'CockroachTime'>> extends CockroachColumnWithArrayBuilder<T, {
    withTimezone: boolean;
    precision: number | undefined;
}> {
    readonly withTimezone: boolean;
    readonly precision: number | undefined;
    static readonly [entityKind]: string;
    constructor(name: T['name'], withTimezone: boolean, precision: number | undefined);
}
export declare class CockroachTime<T extends ColumnBaseConfig<'string', 'CockroachTime'>> extends CockroachColumn<T> {
    static readonly [entityKind]: string;
    readonly withTimezone: boolean;
    readonly precision: number | undefined;
    constructor(table: AnyCockroachTable<{
        name: T['tableName'];
    }>, config: CockroachTimeBuilder<T>['config']);
    getSQLType(): string;
}
export interface TimeConfig {
    precision?: Precision;
    withTimezone?: boolean;
}
export declare function time(): CockroachTimeBuilderInitial<''>;
export declare function time(config?: TimeConfig): CockroachTimeBuilderInitial<''>;
export declare function time<TName extends string>(name: TName, config?: TimeConfig): CockroachTimeBuilderInitial<TName>;
