redact-pii
Version:
Remove personally identifiable information from text.
11 lines (10 loc) • 453 B
TypeScript
import { AsyncCustomRedactorConfig, CompositeRedactorOptions, IAsyncRedactor } from './types';
/** @public */
export interface AsyncCompositeRedactorOptions extends CompositeRedactorOptions<AsyncCustomRedactorConfig> {
}
/** @public */
export declare class AsyncCompositeRedactor implements IAsyncRedactor {
private childRedactors;
constructor(opts?: AsyncCompositeRedactorOptions);
redactAsync: (textToRedact: string) => Promise<string>;
}