import { UnsignedOrder } from '../order-signing';
import { CowEnv, SupportedChainId } from '../common';
export interface EthFlowOrderExistsCallback {
    (orderId: string, orderDigest: string): Promise<boolean>;
}
export declare function calculateUniqueOrderId(chainId: SupportedChainId, order: UnsignedOrder, checkEthFlowOrderExists?: EthFlowOrderExistsCallback, env?: CowEnv): Promise<string>;
