import { MessageFunctionType, Result } from '../types'; export interface RTrimErrors { TARGET_ARGUMENT_NOT_A_STRING: MessageFunctionType; CHARS_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const RTRIM_ERRORS: RTrimErrors; /** * * @param target The target * @param chars The charachters */ export declare function rtrim(target: string, chars: string): Result;