import { Account, AccountLike, Operation } from "@ledgerhq/types-live";
export * from "@ledgerhq/ledger-wallet-framework/operation";
/**
 * Return whether an operation is editable or not.
 */
export declare const isEditableOperation: ({ account, operation, }: {
    account: Account;
    operation: Operation;
}) => boolean;
/**
 * Return whether an operation is considered stuck or not.
 */
export declare const isStuckOperation: ({ family, operation, }: {
    family: string;
    operation: Operation;
}) => boolean;
/**
 * Return the oldest stuck pending operation and its corresponding account.
 * If no stuck pending operation is found, returns undefined
 */
export declare const getStuckAccountAndOperation: (account: AccountLike, parentAccount: Account | undefined | null) => {
    account: AccountLike;
    parentAccount: Account | undefined;
    operation: Operation;
} | undefined;
//# sourceMappingURL=operation.d.ts.map