import type { Hash } from '@ariestools/sdk';
import type { Payload } from '@xyo-network/sdk';
import type { HydratedTransaction, SignedHydratedTransaction, SignedHydratedTransactionWithHashMeta, SignedHydratedTransactionWithStorageMeta } from '@xyo-network/xl1-protocol/protocol-lib';
import type { ChainStoreRead } from '../model/index.js';
/** tryHydrateTransaction constant. */
export declare const tryHydrateTransaction: ({ chainMap }: ChainStoreRead, hash: Hash) => Promise<SignedHydratedTransactionWithStorageMeta | undefined>;
/** hydrateTransaction constant. */
export declare const hydrateTransaction: ({ chainMap }: ChainStoreRead, hash: Hash) => Promise<SignedHydratedTransaction>;
/** FlattenHydratedTransaction helper function. */
export declare function flattenHydratedTransaction<T extends HydratedTransaction>(hydratedTransaction: T): (T[0] | T[1][number])[];
/** tryUnflattenHydratedTransaction constant. */
export declare const tryUnflattenHydratedTransaction: (flattened: Payload[]) => SignedHydratedTransaction | undefined;
/** unflattenHydratedTransaction constant. */
export declare const unflattenHydratedTransaction: (flattened: Payload[]) => SignedHydratedTransaction;
/** FlattenHydratedTransactions helper function. */
export declare function flattenHydratedTransactions<T extends HydratedTransaction>(hydratedTransactions: T[]): (T[0] | T[1][number])[];
/** tryHydrateElevatedTransaction constant. */
export declare const tryHydrateElevatedTransaction: ({ chainMap }: ChainStoreRead, hash: Hash) => Promise<SignedHydratedTransactionWithHashMeta | undefined>;
/** hydrateElevatedTransaction constant. */
export declare const hydrateElevatedTransaction: (context: ChainStoreRead, hash: Hash) => Promise<SignedHydratedTransactionWithHashMeta>;
//# sourceMappingURL=hydrateTransaction.d.ts.map