import { Id } from './entity'; export interface QueryCondition { creatorId?: Id; tenantId?: Id; date?: string; from?: string; to?: string; } /** 是否为隐私模式 */ export declare function isSecretMode(): boolean; /** * 生成加密字符串 * ENCRYPTION: 完全隐藏 * HALF_ENCRYPTION:模糊 * SHOW:展示 */ export declare function getEncryptedStr(str: string, type: 'ENCRYPTION' | 'HALF_ENCRYPTION' | 'SHOW'): string; /** 生成可隐藏的数值 */ export declare const getSecretNumber: (num: number) => number; /** 生成可隐藏的字符串 */ export declare const getSecretString: (str: string | number, forceSecret?: boolean) => string; export declare const getPriceByMathRound: (value: number, r?: number) => number; export declare const disabledPassedDate: (current: any) => boolean; export declare function encodeModelThumbnailUrl(url: string, width?: number): string; /** 确保是 HTTPS */ export declare const ensureHttps: (url: string) => string; /** * 字符串数组去重 * @param list * @returns */ export declare function deduplicateArrayStr(list: string[]): string[]; /** 是否包含特殊字符 */ export declare function containSpecialChar(str: string): boolean;