import { Chain, SignatureTypeV2 } from "@polymarket/clob-client-v2"; import type { Address } from "viem"; export declare const POLYMARKET_GAMMA_BASE_URL = "https://gamma-api.polymarket.com"; export declare const POLYMARKET_DATA_API_BASE_URL = "https://data-api.polymarket.com"; export declare const POLYMARKET_CLOB_BASE_URLS: { readonly production: "https://clob.polymarket.com"; readonly staging: "https://clob-staging.polymarket.com"; }; export declare const POLYMARKET_ENDPOINTS: { readonly data: "https://data-api.polymarket.com"; readonly gamma: "https://gamma-api.polymarket.com"; readonly clob: "https://clob.polymarket.com"; readonly clobStaging: "https://clob-staging.polymarket.com"; }; export declare const POLYMARKET_CHAIN_IDS: { readonly polygon: Chain.POLYGON; readonly amoy: Chain.AMOY; }; export declare const POLYMARKET_SUPPORTED_CHAIN_IDS: { readonly polygon: Chain.POLYGON; readonly amoy: Chain.AMOY; }; export type PolymarketChainId = (typeof POLYMARKET_CHAIN_IDS)[keyof typeof POLYMARKET_CHAIN_IDS]; export type PolymarketEnvironment = keyof typeof POLYMARKET_CLOB_BASE_URLS; export declare const POLYMARKET_V2_SIGNATURE_TYPE = SignatureTypeV2.POLY_1271; export declare const POLYMARKET_TICK_SIZES: readonly ["0.1", "0.01", "0.005", "0.0025", "0.001", "0.0001"]; export declare const POLYMARKET_PUSD_DECIMALS = 6; export declare const POLYMARKET_CTF_DECIMALS = 6; export declare const POLYMARKET_ASSET_TYPES: { readonly COLLATERAL: "COLLATERAL"; readonly CONDITIONAL: "CONDITIONAL"; }; export declare const POLYMARKET_HTTP_METHODS: { readonly GET: "GET"; readonly POST: "POST"; readonly DELETE: "DELETE"; }; export declare const POLYMARKET_COLLATERAL_ONRAMP_ADDRESS: "0x93070a847efEf7F70739046A929D47a521F5B8ee"; export declare const POLYMARKET_POLYGON_USDC_E_ADDRESS: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"; export declare const POLYMARKET_DEPOSIT_WALLET_FACTORY_ADDRESS: "0x00000000000Fb5C9ADea0298D729A0CB3823Cc07"; export declare const POLYMARKET_POLYGON_DEPOSIT_WALLET_IMPLEMENTATION_ADDRESS: "0x58CA52ebe0DadfdF531Cde7062e76746de4Db1eB"; export declare const POLYMARKET_AMOY_DEPOSIT_WALLET_IMPLEMENTATION_ADDRESS: "0x50a88fE9a441cB4c9c2aD6A2207CE2795C7D7Fbd"; export declare const POLYMARKET_CONTRACT_ADDRESSES_BY_CHAIN: { readonly 137: { readonly pusdCollateral: string; readonly conditionalTokens: string; readonly exchange: string; readonly negRiskAdapter: string; readonly negRiskExchange: string; }; readonly 80002: { readonly pusdCollateral: string; readonly conditionalTokens: string; readonly exchange: string; readonly negRiskAdapter: string; readonly negRiskExchange: string; }; }; export declare const POLYMARKET_PUSD_COLLATERAL_ADDRESS: string; export declare const POLYMARKET_DEPOSIT_WALLET_BATCH_MAX_DEADLINE_SECONDS = 300; export declare const POLYMARKET_CTF_COLLATERAL_ADAPTER_ADDRESS: "0xAdA100Db00Ca00073811820692005400218FcE1f"; export declare const POLYMARKET_NEG_RISK_CTF_COLLATERAL_ADAPTER_ADDRESS: "0xadA2005600Dec949baf300f4C6120000bDB6eAab"; export declare function isPolymarketChainId(chainId: number): chainId is PolymarketChainId; export declare function isPolymarketProductionChainId(chainId: number): chainId is typeof POLYMARKET_CHAIN_IDS.polygon; export declare function toPolymarketClobChain(chainId: number): Chain; export declare function getPolymarketClobBaseUrl(chainId: number, environment?: PolymarketEnvironment): string; export declare const getPolymarketClobUrl: typeof getPolymarketClobBaseUrl; export declare function getPolymarketContracts(chainId: number): { pUSD: Address; usdcE: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174" | undefined; conditionalTokens: Address; exchange: Address; negRiskExchange: Address; negRiskAdapter: Address; collateralOnramp: "0x93070a847efEf7F70739046A929D47a521F5B8ee"; depositWalletFactory: "0x00000000000Fb5C9ADea0298D729A0CB3823Cc07"; depositWalletImplementation: "0x58CA52ebe0DadfdF531Cde7062e76746de4Db1eB" | "0x50a88fE9a441cB4c9c2aD6A2207CE2795C7D7Fbd"; ctfCollateralAdapter: Address; negRiskCtfCollateralAdapter: Address; };