PHP WebShell
Текущая директория: /opt/BitGoJS/modules/utxo-core/dist/src/descriptor
Просмотр файла: Output.d.ts
import { Descriptor } from '@bitgo/wasm-miniscript';
import { MaxOutput, Output, PrevOutput } from '../Output';
import { DescriptorMap } from './DescriptorMap';
export type WithDescriptor<T> = T & {
descriptor: Descriptor;
};
export type WithOptDescriptor<T> = T & {
descriptor?: Descriptor;
};
export declare function isInternalOutput<T extends object>(output: T | WithDescriptor<T>): output is WithDescriptor<T>;
export declare function isExternalOutput<T extends object>(output: T | WithDescriptor<T>): output is T;
/**
* @return the sum of the external outputs that are not 'max'
* @param outputs
*/
export declare function getExternalFixedAmount(outputs: WithOptDescriptor<Output | MaxOutput>[]): bigint;
export type DescriptorWalletOutput = PrevOutput & {
descriptorName: string;
descriptorIndex: number | undefined;
};
export type DerivedDescriptorWalletOutput = WithDescriptor<PrevOutput>;
export declare function toDerivedDescriptorWalletOutput(output: DescriptorWalletOutput, descriptorMap: DescriptorMap): DerivedDescriptorWalletOutput;
//# sourceMappingURL=Output.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!