import { ColumnOptions } from 'typeorm/decorator/options/ColumnOptions'; export declare class ColumnCharsetCS implements ColumnOptions { get charset(): string; get collation(): string | undefined; } export declare const columnCharsetCS: ColumnCharsetCS; /** * Same as columnCharsetCS, but with extra column options. * charset and collation stay lazy getters, so they are resolved when the DB connection * is built and not when the entity file is imported (Config.Database.type might change in between). */ export declare const columnCharsetCSWith: (options: ColumnOptions) => ColumnOptions; export declare const SQL_COLLATE = "utf8mb4_general_ci"; /** * SQLite's LIKE ignores SQL_COLLATE and the case of non-English letters. With Database.sqlite.accentInsensitiveSearch * both sides are folded instead: lowercase and without accents (#1309). It makes text search several times slower. */ export declare const sqlFoldsText: () => boolean; /** * Whether the text search of the DB (SearchManager) ignores the accents: MySQL's SQL_COLLATE does, SQLite only with sqlFoldsText(). * Checks of the same texts without DB need to follow it (e.g. DirectoryAccess). */ export declare const sqlIgnoresAccents: () => boolean; /** * The text in lowercase and without accents: SQLite searches compare fold(column) LIKE fold(value), * as SQLite's LIKE ignores SQL_COLLATE (#1309). Registered as the SQL function fold() on SQLite. */ export declare const foldText: (text: string | null) => string | null;