import { Types } from 'mongoose'; import { Nullable } from '../types/pitmart'; export declare class StringUtil { constructor(); static toLowerCase(text: string): string; static toUpperCase(text: string): string; /** * * @param text */ static toBoolean(text?: string): boolean; static removeStartWith(s: string, start?: string): string; /** * * @param s * @param end * @returns */ static removeEndWith(s: string, end?: string): string; static removeStartsEndsWith(s: string, character?: string): string; static ConvertObjectIdToString(id: Types.ObjectId): string; /** * filter work to values: true|false|"all" * @param status */ static Cut(text: string, startindex?: number, endindex?: number, char?: Nullable): Nullable; } export default StringUtil; //# sourceMappingURL=StringUtil.d.ts.map