PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/abstract-utxo/dist/src/descriptor
Просмотр файла: NamedDescriptor.d.ts
import * as t from 'io-ts';
import { Descriptor, DescriptorPkType } from '@bitgo/wasm-miniscript';
import { BIP32Interface } from '@bitgo/utxo-lib';
export declare const NamedDescriptor: t.IntersectionC<[t.TypeC<{
name: t.StringC;
value: t.StringC;
}>, t.PartialC<{
signatures: t.UnionC<[t.ArrayC<t.StringC>, t.UndefinedC]>;
}>]>;
export type NamedDescriptor<T = string> = {
name: string;
value: T;
signatures?: string[];
};
export type NamedDescriptorNative = NamedDescriptor<Descriptor>;
export declare function createNamedDescriptorWithSignature(name: string, descriptor: string | Descriptor, signingKey: BIP32Interface): NamedDescriptor;
export declare function toNamedDescriptorNative(e: NamedDescriptor, pkType: DescriptorPkType): NamedDescriptorNative;
export declare function hasValidSignature(descriptor: string | Descriptor, key: BIP32Interface, signatures: string[]): boolean;
export declare function assertHasValidSignature(namedDescriptor: NamedDescriptor, key: BIP32Interface): void;
//# sourceMappingURL=NamedDescriptor.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!