/// export declare type ScriptType = 'P2PKH' | 'P2SH' | 'CUSTOM' | 'ATTENUATION'; export interface IScript { scriptType: ScriptType; } export declare abstract class Script implements IScript { scriptType: ScriptType; constructor(scriptType: ScriptType); toASM(): string; toBuffer(): Buffer; static fromFullnode(script: string): Buffer; static getAddressFromScript(script: string, network: string): string | null; static splitBuffer: (buffer: Buffer) => (string | Buffer)[]; static toBuffer(asm: string): Buffer; static toString: (buffer: Buffer) => string; static fromChunks(chunks: Buffer[]): Buffer; }