import { ethers } from 'ethers'; import { FeedRecord, SourceRecord, StakingReward, Target, TargetsRecord, Token, User, Version, networkToChainId } from 'synthetix'; export declare const NetworkIdByName: { readonly mainnet: 1; readonly goerli: 5; readonly 'goerli-ovm': 420; readonly 'mainnet-ovm': 10; readonly kovan: 42; readonly 'kovan-ovm': 69; readonly 'mainnet-fork': 31337; }; export declare const NetworkNameById: { readonly 1: "mainnet"; readonly 5: "goerli"; readonly 42: "kovan"; readonly 10: "mainnet-ovm"; readonly 69: "kovan-ovm"; readonly 420: "goerli-ovm"; readonly 31337: "mainnet-fork"; }; export type NetworkIdByNameType = typeof NetworkIdByName; export type NetworkName = keyof typeof NetworkIdByName; export type NetworkId = (typeof NetworkIdByName)[keyof typeof NetworkIdByName]; export type SynthetixJS = { networks: Array; networkToChainId: typeof networkToChainId; decode: (config: { network: NetworkName; data: string; target: Target; }) => { method: { name: string; params: Array; }; contract: string; }; defaults: { [key: string]: any; }; feeds: FeedRecord; tokens: Array; network: { id: NetworkId; name: NetworkName; useOvm: boolean; }; sources: SourceRecord; targets: TargetsRecord; synths: Synth[]; versions: { [version: string]: Version; }; stakingRewards: Array; suspensionReasons: { [code: number]: string; }; users: User[]; toBytes32: (key: string) => string; utils: typeof ethers.utils; contracts: ContractsMap; }; export type ContractsMap = { [name: string]: ethers.Contract; }; export type Config = { networkId?: NetworkId; network?: NetworkName; signer?: ethers.Signer; provider?: ethers.providers.Provider; useOvm?: boolean; }; declare const AllSynths: { asset: string; category: string; sign: string; description: string; name: string; feed?: string; subclass?: string; }[]; export type CurrencyKey = string; export declare const FIAT_SYNTHS: Set; export declare enum CurrencyCategory { 'crypto' = "Crypto", 'forex' = "Forex", 'equity' = "Equity", 'commodity' = "Commodity" } export type Synth = (typeof AllSynths)[number]; export {}; //# sourceMappingURL=types.d.ts.map