botbook/node_modules/smtp-address-parser/dist/lib/index.d.ts

14 lines
537 B
TypeScript
Raw Normal View History

2024-09-04 13:13:15 -03:00
export declare function parse(address: string): any;
/** Strip +something, strip '.'s, and map to lower case.
*/
export declare function normalize_dot_string(dot_string: string): string;
/** The G style address normalization.
*/
export declare function normalize(address: string): string;
export declare function canonicalize_quoted_string(quoted_string: string): string;
/**
* Apply a canonicalization consistent with standards to support
* comparison as a string.
*/
export declare function canonicalize(address: string): string;