export declare const trimEnd: (text: string, char?: string) => string;