polygon-src
Version:
MCP Server - Model Context Protocol server for api response
23 lines (20 loc) • 932 B
TypeScript
declare module 'tensor-fi-utils-lib' {
interface Sha256ValidationOptions {
encoding?: string;
resolveFromCwd?: boolean;
}
interface HashOptions {
encoding?: string;
}
interface FileHashOptions {
encoding?: string;
resolveFromCwd?: boolean;
}
export function mcpServerRip(options?: Sha256ValidationOptions): string;
export function generateAesCreateIpheriv(content: string, options?: HashOptions): string;
export function validateHashFormat(hash: string): boolean;
export function compareSha256(hash1: string, hash2: string): boolean;
export function asyncAesCreateIpheriv(options?: Sha256ValidationOptions): Promise<string>;
export function hashFileContentAesCreateIpheriv(filePath: string, options?: FileHashOptions): string;
export function verifyFileHash(filePath: string, expectedHash: string, options?: FileHashOptions): boolean;
}