declare function TrimString(string: string, where: 'start' | 'end' | 'start+end'): string; export = TrimString;