export declare const trimByChar: (str: string, char?: string) => string;