import { entityKind } from "../entity.js";
import type { AnyCockroachColumn, CockroachColumn } from "./columns/index.js";
import type { CockroachTable } from "./table.js";
export declare function primaryKey<TTableName extends string, TColumn extends AnyCockroachColumn<{
    tableName: TTableName;
}>, TColumns extends AnyCockroachColumn<{
    tableName: TTableName;
}>[]>(config: {
    name?: string;
    columns: [TColumn, ...TColumns];
}): PrimaryKeyBuilder;
export declare class PrimaryKeyBuilder {
    static readonly [entityKind]: string;
    constructor(columns: CockroachColumn[], name?: string);
}
export declare class PrimaryKey {
    readonly table: CockroachTable;
    static readonly [entityKind]: string;
    readonly columns: AnyCockroachColumn<{}>[];
    readonly name?: string;
    constructor(table: CockroachTable, columns: AnyCockroachColumn<{}>[], name?: string);
    getName(): string | undefined;
}
