import { IDbConfig } from "./types"; type Tvalues = T[keyof T]; export declare const sql_data_types: { readonly tinyint: "TINYINT"; readonly smallint: "SMALLINT"; readonly mediumint: "MEDIUMINT"; readonly int: "INTEGER"; readonly bigint: "BIGINT"; readonly float: "FLOAT"; readonly double: "DOUBLE"; readonly decimal: "DECIMAL"; readonly bit: "BIT"; readonly date: "DATE"; readonly time: "TIME"; readonly year: "YEAR"; readonly datetime: "DATETIME"; readonly datetime3: "DATETIME(3)"; readonly timestamp: "TIMESTAMP"; readonly char: "CHAR"; readonly varchar: "VARCHAR"; readonly tinyblob: "TINYBLOB"; readonly tinytext: "TINYTEXT"; readonly blob: "BLOB"; readonly text: "TEXT"; readonly mediumblob: "MEDIUMBLOB"; readonly mediumtext: "MEDIUMTEXT"; readonly longblob: "LONGBLOB"; readonly longtext: "LONGTEXT"; }; export type t_sql_data_types = Tvalues; export declare const sql_data_mode: { readonly notNull: "NOT NULL"; readonly unique: "UNIQUE"; readonly primaryKey: "PRIMARY KEY"; readonly default: "DEFAULT"; readonly foreign: "FOREIGN KEY"; readonly auto_increment: "AUTO_INCREMENT"; readonly unsigned: "UNSIGNED"; readonly current_timestamp: "DEFAULT CURRENT_TIMESTAMP"; readonly onUpdateCurrent_timestamp: "ON UPDATE CURRENT_TIMESTAMP"; readonly current_timestamp3: "DEFAULT CURRENT_TIMESTAMP(3)"; readonly onUpdateCurrent_timestamp3: "ON UPDATE CURRENT_TIMESTAMP(3)"; readonly after: "AFTER"; readonly comment: "COMMENT"; readonly charsetUtf8: "charset utf8"; readonly charsetUtf8mb4: "utf8mb4"; readonly collateUtf8_bin: "collate utf8_bin"; readonly engineInnodb: "engine innodb"; readonly charset_utf8_full: "utf8mb4 COLLATE utf8mb4_unicode_ci"; }; export type t_sql_data_mode = Tvalues; /** * 条件连字符 */ export declare const cd_hyphen: { readonly eq: "="; readonly noEq: "!="; readonly gt: ">"; readonly ge: ">="; readonly lt: "<"; readonly le: "<="; readonly like: "%"; readonly in: "in"; readonly between: "between"; readonly notNull: "notNull"; readonly isNull: "isNull"; }; export type t_cd_hyphen = Tvalues; /** * 排序规则 */ export declare const order_rule: { desc: string; asc: string; }; export type t_order_rule = Tvalues; export declare class DbConfig { base_config: { host: string; user: string; port: number; password: string; }; pool_config: { database: string; waitForConnections: boolean; connectionLimit: number; maxIdle: number; idleTimeout: number; queueLimit: number; host: string; user: string; port: number; password: string; }; extend_config: Required; changePool(configs: object): void; init(configs: any): void; opDefaultPage(): { page: number; size: number; }; } /** * mysql实践中的高频冲突关键字 */ export declare const HIGH_RISK_KEYWORDS: Set; export {};