/**
 * RFC 2152 UTF-7 encoding.
 *
 * @param mask Optional mask characters to exclude from encoding
 */
export declare const encode: (str: string, mask?: string | null) => string;
/**
 * RFC 2152 UTF-7 encoding with all optionals.
 * Encodes all non-ASCII characters, including those that would normally
 * be represented directly in standard UTF-7 encoding.
 */
export declare function encodeAll(str: string): string;
/**
 * RFC 2152 UTF-7 decoding.
 */
export declare const decode: (str: string) => string;
export declare const imap: {
    /**
     * RFC 3501, section 5.1.3 UTF-7 encoding.
     */
    encode(str: string): string;
    /**
     * RFC 3501, section 5.1.3 UTF-7 decoding.
     */
    decode(str: string): string;
};
//# sourceMappingURL=utf7.d.ts.map