import { entityKind } from "../entity.js";
import type { CockroachColumn } from "./columns/index.js";
import type { CockroachTable } from "./table.js";
export declare function unique(name?: string): UniqueOnConstraintBuilder;
export declare class UniqueConstraintBuilder {
    private name?;
    static readonly [entityKind]: string;
    constructor(columns: CockroachColumn[], name?: string | undefined);
}
export declare class UniqueOnConstraintBuilder {
    static readonly [entityKind]: string;
    constructor(name?: string);
    on(...columns: [CockroachColumn, ...CockroachColumn[]]): UniqueConstraintBuilder;
}
export declare class UniqueConstraint {
    readonly table: CockroachTable;
    static readonly [entityKind]: string;
    readonly columns: CockroachColumn[];
    readonly name?: string;
    readonly explicitName: boolean;
    constructor(table: CockroachTable, columns: CockroachColumn[], name?: string);
    getName(): string | undefined;
}
