import { ColumnBuilderBaseConfig, entityKind, MakeColumnConfig, HasDefault, ColumnBaseConfig, ColumnBuilderRuntimeConfig } from 'drizzle-orm'; import { SQLiteColumnBuilder, AnySQLiteTable, SQLiteColumn } from 'drizzle-orm/sqlite-core'; type SQLiteCuid2Config = { length: number; prefix?: string; }; type SQLiteCuid2BuilderInitial = Omit, 'default' | '$default' | '$defaultFn'>; declare class SQLiteCuid2Builder> extends SQLiteColumnBuilder { static readonly [entityKind]: string; private length; private prefix?; constructor(name: string); build(table: AnySQLiteTable<{ name: TTableName; }>): SQLiteCuid2>; /*** * Creates a random `cuid2` value as the default value for the column. * The function will be called when the row is inserted, and the returned value will be used as the column value. */ defaultRandom(): HasDefault; /*** * Sets the length of the CUID2 value. * @param length The length of the CUID2 value (default: 24) */ setLength(length: number): this; /*** * Sets the prefix for the CUID2 value. * @param prefix The prefix to prepend to the CUID2 value */ setPrefix(prefix: string): this; } declare class SQLiteCuid2> extends SQLiteColumn { static readonly [entityKind]: string; private length; private prefix?; constructor(table: AnySQLiteTable<{ name: string; }>, config: ColumnBuilderRuntimeConfig, length: number, prefix?: string); getSQLType(): string; } declare function cuid2(): SQLiteCuid2BuilderInitial<''>; declare function cuid2(name: TName): SQLiteCuid2BuilderInitial; export { SQLiteCuid2, SQLiteCuid2Builder, type SQLiteCuid2BuilderInitial, type SQLiteCuid2Config, cuid2 };