export declare function htmlentities(string: string, quoteStyle?: string | number, charset?: string, doubleEncode?: boolean | null): string;