@hyperlane-xyz/cli
Version:
A command-line utility for common Hyperlane operations
24 lines • 835 B
TypeScript
export declare enum ViolationDiffType {
None = 0,
Expected = 1,
Actual = 2
}
type FormatterByDiffType = Record<ViolationDiffType, (text: string) => string>;
/**
* Takes a yaml formatted string and highlights differences by looking at `expected` and `actual` properties.
*/
export declare function formatYamlViolationsOutput(yamlString: string, formatters?: FormatterByDiffType): string;
/**
* @notice Masks sensitive key with dots
* @param key Sensitive key to mask
* @return Masked key
*/
export declare function maskSensitiveKey(key: string): string;
/**
* @notice Recursively masks sensitive data in objects
* @param obj Object with potential sensitive data
* @return Object with masked sensitive data
*/
export declare function maskSensitiveData(obj: any): any;
export {};
//# sourceMappingURL=output.d.ts.map