import { Signer } from "ethers";
import { TransactionRequest, TransactionReceipt } from "@ethersproject/abstract-provider";
type Config = {
    confirmations?: number;
};
export type Emit = (event: string, key: string, data: TransactionReceipt | string | TransactionRequest | Error) => void;
declare const _default: (config: Config, signer: Signer, emit?: Emit) => {
    request: (unsignedTx: TransactionRequest) => string;
    isMined: (key: string) => Promise<TransactionReceipt | undefined>;
    update: () => Promise<void>;
};
export default _default;
