1 |
|
2 | export declare const typeforce: any;
|
3 | export declare function isPoint(p: Buffer | number | undefined | null): boolean;
|
4 | export declare function UInt31(value: number): boolean;
|
5 | export declare function BIP32Path(value: string): boolean;
|
6 | export declare namespace BIP32Path {
|
7 | var toJSON: () => string;
|
8 | }
|
9 | export declare function Signer(obj: any): boolean;
|
10 | export declare function Satoshi(value: number): boolean;
|
11 | export declare const ECPoint: any;
|
12 | export declare const Network: any;
|
13 | export interface XOnlyPointAddTweakResult {
|
14 | parity: 1 | 0;
|
15 | xOnlyPubkey: Uint8Array;
|
16 | }
|
17 | export interface Tapleaf {
|
18 | output: Buffer;
|
19 | version?: number;
|
20 | }
|
21 | export declare const TAPLEAF_VERSION_MASK = 254;
|
22 | export declare function isTapleaf(o: any): o is Tapleaf;
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 | export type Taptree = [Taptree | Tapleaf, Taptree | Tapleaf] | Tapleaf;
|
29 | export declare function isTaptree(scriptTree: any): scriptTree is Taptree;
|
30 | export interface TinySecp256k1Interface {
|
31 | isXOnlyPoint(p: Uint8Array): boolean;
|
32 | xOnlyPointAddTweak(p: Uint8Array, tweak: Uint8Array): XOnlyPointAddTweakResult | null;
|
33 | }
|
34 | export declare const Buffer256bit: any;
|
35 | export declare const Hash160bit: any;
|
36 | export declare const Hash256bit: any;
|
37 | export declare const Number: any;
|
38 | export declare const Array: any;
|
39 | export declare const Boolean: any;
|
40 | export declare const String: any;
|
41 | export declare const Buffer: any;
|
42 | export declare const Hex: any;
|
43 | export declare const maybe: any;
|
44 | export declare const tuple: any;
|
45 | export declare const UInt8: any;
|
46 | export declare const UInt32: any;
|
47 | export declare const Function: any;
|
48 | export declare const BufferN: any;
|
49 | export declare const Null: any;
|
50 | export declare const oneOf: any;
|