UNPKG

@types/keygrip

Version:
15 lines (11 loc) 397 B
interface Keygrip { sign(data: any): string; verify(data: any, digest: string): boolean; index(data: any, digest: string): number; } interface KeygripFunction { new(keys: readonly string[], algorithm?: string, encoding?: string): Keygrip; (keys: readonly string[], algorithm?: string, encoding?: string): Keygrip; } declare const Keygrip: KeygripFunction; export = Keygrip;