import "../../account.mjs"; import { PredictConfig } from "../config/types.mjs"; import "../config/generated.mjs"; import { Transaction, TransactionArgument, TransactionResult } from "@mysten/sui/transactions"; //#region src/predict/tx/common.d.ts /** * Owner authority is a hot-potato `Auth` minted from the tx sender (`ctx` is implicit in a PTB) * and consumed by the very next account-loading call (`load_account_mut` inside `deposit_funds` / * `withdraw_funds` / `mint` / …). It resolves to owner auth for whoever signs the transaction. * See `packages/account/sources/account.move`. */ declare function generateAuth(cfg: PredictConfig): (tx: Transaction) => TransactionResult; /** The deterministic id of an owner's canonical account wrapper — no chain read needed. */ declare function deriveAccountWrapperId(cfg: PredictConfig, owner: string): string; //#endregion export { deriveAccountWrapperId, generateAuth }; //# sourceMappingURL=common.d.mts.map