/// import type { Binary } from "@rarible/ethereum-api-client"; import type { Ethereum } from "@rarible/ethereum-provider"; import type { Maybe } from "@rarible/types"; import type { EthereumConfig } from "../config/type"; import type { GetConfigByChainId } from "../config"; import type { SimpleOrder, SimpleRaribleV2Order } from "./types"; export declare function signOrder(ethereum: Maybe, getConfig: GetConfigByChainId, order: SimpleOrder): Promise; export declare function hashToSign(config: Pick, ethereum: Ethereum, order: SimpleRaribleV2Order): Buffer; export declare function orderToStruct(ethereum: Ethereum, order: SimpleRaribleV2Order, wrongEncode?: Boolean): any;