8 lines
345 B
TypeScript
8 lines
345 B
TypeScript
|
/**
|
||
|
* Abstract class representing a transformer used for masking and rehydrating messages.
|
||
|
*/
|
||
|
export declare abstract class MaskingTransformer {
|
||
|
abstract transform(message: string, state?: Map<string, string>): Promise<[string, Map<string, string>]>;
|
||
|
abstract rehydrate(message: string, state: Map<string, string>): Promise<string>;
|
||
|
}
|