import { ApiTypes, DecorateMethod, SubmittableResultImpl } from "../../api/types"; import { AccountId, Address, Hash } from "../../types/interfaces"; import { IKeyringPair } from "../../types/types"; import { ApiObject, ContractABIPre } from '../types'; import { Observable } from 'rxjs'; import { SubmittableResult } from "../../api"; import Abi from '../Abi'; import Contract from './Contract'; import { BaseWithTx } from './util'; declare type BlueprintCreateResultSubscription = Observable>; export interface BlueprintCreate { signAndSend(account: IKeyringPair | string | AccountId | Address): BlueprintCreateResultSubscription; } declare class BlueprintCreateResult extends SubmittableResult { readonly contract?: Contract; constructor(result: SubmittableResultImpl, contract?: Contract); } export default class Blueprint extends BaseWithTx { readonly codeHash: Hash; constructor(api: ApiObject, abi: ContractABIPre | Abi, decorateMethod: DecorateMethod, codeHash: string | Hash); } export {};