/** * PostgreSQL COLLATION type builder */ export interface CollationDefinition { name: string; provider: string; locale: string; deterministic: boolean; } /** * Registry to store all collation types defined in the schema */ export declare class CollationRegistry { private static collations; static register(def: CollationDefinition): void; static get(name: string): CollationDefinition | undefined; static getAll(): Map; static clear(): void; static has(name: string): boolean; } /** * Create a PostgreSQL COLLATION * * @example * const ndCiAi = pgCollation({ * name: 'nd_ci_ai', * provider: 'icu', * locale: 'und-u-ks-level1', * deterministic: false, * }); * * entity.property(e => e.name).hasType(varchar('name', 200)).hasCollation(ndCiAi); */ export declare function pgCollation(config: CollationDefinition): CollationDefinition; //# sourceMappingURL=collation-builder.d.ts.map