import { Account, AccountLike, Operation } from "@ledgerhq/types-live";
export * from "@ledgerhq/coin-framework/operation";
/**
 * Return weather an operation is editable or not.
 */
export declare const isEditableOperation: ({ account, operation, }: {
    account: Account;
    operation: Operation;
}) => boolean;
/**
 * Return weather 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