import { BIish } from '@ckb-lumos/bi'; import { Address, Script } from '@ckb-lumos/base'; import { FromInfo } from '@ckb-lumos/common-scripts'; import { BI, Cell, helpers, HexString } from '@ckb-lumos/lumos'; import { SporeConfig } from '../../../config'; import { SporeDataProps } from '../..'; export declare function createSpore(props: { data: SporeDataProps; toLock: Script; fromInfos: FromInfo[]; config?: SporeConfig; changeAddress?: Address; maxTransactionSize?: number | false; capacityMargin?: BIish | ((cell: Cell, margin: BI) => BIish); updateOutput?(cell: Cell): Cell; cluster?: { capacityMargin?: BIish | ((cell: Cell, margin: BI) => BIish); updateWitness?: HexString | ((witness: HexString) => HexString); updateOutput?(cell: Cell): Cell; }; }): Promise<{ txSkeleton: helpers.TransactionSkeletonType; outputIndex: number; cluster?: { inputIndex: number; outputIndex: number; }; }>;