import { MessageFunctionType, Result } from '../types'; export interface EscapeErrors { TARGET_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const ESCAPE_ERRORS: EscapeErrors; /** * Replaces <, >, &, ', " and / with HTML entities. * @param target The string to perform the `escape` operation on. */ export declare function escape(target: string): Result;