You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
807 B
24 lines
807 B
declare function number(n: number): void; |
|
declare function bool(b: boolean): void; |
|
export declare function isBytes(a: unknown): a is Uint8Array; |
|
declare function bytes(b: Uint8Array | undefined, ...lengths: number[]): void; |
|
export type Hash = { |
|
(data: Uint8Array): Uint8Array; |
|
blockLen: number; |
|
outputLen: number; |
|
create: any; |
|
}; |
|
declare function hash(hash: Hash): void; |
|
declare function exists(instance: any, checkFinished?: boolean): void; |
|
declare function output(out: any, instance: any): void; |
|
export { number, bool, bytes, hash, exists, output }; |
|
declare const assert: { |
|
number: typeof number; |
|
bool: typeof bool; |
|
bytes: typeof bytes; |
|
hash: typeof hash; |
|
exists: typeof exists; |
|
output: typeof output; |
|
}; |
|
export default assert; |
|
//# sourceMappingURL=_assert.d.ts.map
|