import { Transaction, TxStatus } from "./TxHandler";
export interface TxHandlerOutput {
    submit(id: string, input: Transaction): Promise<void>;
    clear(id: string): void;
    tx?: Transaction;
    status: TxStatus;
}
export declare function useTxHandler(id: string): TxHandlerOutput;
