import { MessageFunctionType, Result } from '../types'; export interface TrimErrors { TARGET_ARGUMENT_NOT_A_STRING: MessageFunctionType; CHARS_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const TRIM_ERRORS: TrimErrors; /** * Trim characters (whitespace by default) * from both sides of the input. * * @param target The target * @param chars The characters */ export declare function trim(target: string, chars: string): Result;