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