declare function trim(str: string, chars?: string | string[]): string;

export = trim;
