import { CONTRACT_INTERFACES, Contract, IContract, IMessContractSpecs, IOperationalCost, IPaging, IStrategyChain, MyMessDbServer } from '../../';
export declare const ActivV4Module: {
    getVersion: () => string;
    getContractDbVersion: () => string;
    query: {
        seekAll: <T>(seekFunction: (page: number, limit: number) => Promise<IPaging<T>>) => Promise<IPaging<T>>;
        listContracts: (network?: import("../../").ISupportedBlockchainNetwork | undefined) => Promise<string[]>;
        getWalletInfoDetails: (creatorWallet?: string | undefined, contract?: IContract | undefined) => Promise<CONTRACT_INTERFACES.ITradeIdeaCreator>;
        getValidatedStrategyInfoDetails: (uniqueStrategyKey: string, contract?: IContract | undefined) => Promise<{
            strategy: CONTRACT_INTERFACES.ITradeIdeaStrategy;
            creator: CONTRACT_INTERFACES.ITradeIdeaCreator;
        }>;
        listMyStrategies: (page?: number, limit?: number) => Promise<IPaging<import("../../").IStrategyWithCreator>>;
        listCreatorStrategies: (creatorWallet?: string | undefined, page?: number, limit?: number) => Promise<IPaging<import("../../").IStrategyWithCreator>>;
        listPublicStrategies: (page?: number, limit?: number, contractUniqueKey?: string | undefined, network?: import("../../").ISupportedBlockchainNetwork | undefined) => Promise<IPaging<import("../../").IStrategyWithCreator>>;
        listLatestIdeas: (page?: number, limit?: number, contract?: IContract | undefined) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
        listLatestPublicIdeas: (page?: number, limit?: number, contract?: string | undefined, network?: import("../../").ISupportedBlockchainNetwork | undefined) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
        listAllMyStrategies: () => Promise<import("../../").IStrategyWithCreator[]>;
        getIdeasCreatedBy: (page?: number, limit?: number, creator?: string | undefined, filterType?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind[] | "bypass", filterIncludeEncrypted?: boolean, bypassPaginationAndGetAll?: boolean, contract?: IContract | undefined) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
        getIdeasOwnedBy: (page?: number, limit?: number, owner?: string | undefined, filterType?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind[] | "bypass", filterIncludeEncrypted?: boolean, bypassPaginationAndGetAll?: boolean, contract?: IContract | undefined) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
        listStrategiesWithAccessibleIdeas: (accessorWallet?: string | undefined, page?: number, limit?: number) => Promise<IPaging<import("../../").IStrategyWithCreator>>;
        listStrategiesSubscribedTo: (subscriberWallet?: string | undefined, page?: number, limit?: number) => Promise<IPaging<import("../../").IStrategyWithCreator>>;
        listStrategiesByCreator: (creatorWallet?: string | undefined, type?: "public" | "all" | "my" | "accesible", page?: number, limit?: number, network?: import("../../").ISupportedBlockchainNetwork | undefined) => Promise<IPaging<import("../../").IStrategyWithCreator>>;
        getClosedIdeasHistoryByStrategy: (payload: import("../../").IGetClosedIdeasHistoryByStrategyUniqueKeyPayload, contract?: IContract | undefined) => Promise<{
            summary: {
                strategyReference: string;
                strategyName: string | undefined;
                profit: number;
                percentage: number;
                ideas: number;
            };
            data: {
                nftId: number;
                opents: number;
                closets: number;
                ticker: string;
                direction: "long" | "short";
                percentage: number;
                profit: boolean;
                capital: number;
                stages: {
                    stage: number;
                    nftId: number;
                    type: CONTRACT_INTERFACES.ITradeIdeaIdeaKind;
                    adjtype: "increase" | "decrease" | undefined;
                    adjmt: number | undefined;
                    bid: number;
                    ask: number;
                }[];
            }[];
        }>;
        listIdeasByStrategy: (strategyUniqueKey: string, creator?: string | undefined, page?: number, limit?: number, filterType?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind[] | "bypass", filterIncludeEncrypted?: boolean, bypassPaginationAndGetAll?: boolean) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
        getValidatedIdeasByStrategy: (strategyUniqueKey: string, page?: number, limit?: number, filterType?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind[] | "bypass", filterIncludeEncrypted?: boolean, bypassPaginationAndGetAll?: boolean) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
        getAllMyCachedStrategies: () => Promise<{
            result: IStrategyChain;
            cache: {
                ideas: import("../../").IStrategyIdeaChain[];
                nullifiedIdeas: Map<number, Set<number>>;
                cachedStrategy: CONTRACT_INTERFACES.IStrategyState;
            };
        }[]>;
        getAllMyIdeas: () => Promise<CONTRACT_INTERFACES.ITradeIdea[]>;
        getAllMyOpenIdeas: () => Promise<CONTRACT_INTERFACES.ITradeIdea[]>;
        getAllMyAdjustIdeas: () => Promise<CONTRACT_INTERFACES.ITradeIdea[]>;
        getAllMyCloseIdeas: () => Promise<CONTRACT_INTERFACES.ITradeIdea[]>;
        getMyIdeas: (page?: number, limit?: number, filterType?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind[] | "bypass", filterIncludeEncrypted?: boolean, bypassPaginationAndGetAll?: boolean) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
        getMyOpenIdeas: (page?: number, limit?: number, filterIncludeEncrypted?: boolean) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
        getMyAdjustIdeas: (page?: number, limit?: number, filterIncludeEncrypted?: boolean) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
        getMyCloseIdeas: (page?: number, limit?: number, filterIncludeEncrypted?: boolean) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
        getMyOpenPositions: (page?: number, limit?: number) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
        getAllMyCachedStrategiesWithStillOpenPositions: () => Promise<{
            allOpenPositions: CONTRACT_INTERFACES.ITradeIdea[];
            strategies: {
                cachedStrategy: {
                    result: IStrategyChain;
                    cache: {
                        ideas: import("../../").IStrategyIdeaChain[];
                        nullifiedIdeas: Map<number, Set<number>>;
                        cachedStrategy: CONTRACT_INTERFACES.IStrategyState;
                    };
                };
                strategy: CONTRACT_INTERFACES.ITradeIdeaStrategy;
                openPositions: CONTRACT_INTERFACES.ITradeIdea[];
            }[];
        }>;
        decryptIdea: (idea: CONTRACT_INTERFACES.ITradeIdea, inflateImages?: boolean) => Promise<void>;
        doDecryptableIdea: (idea: CONTRACT_INTERFACES.ITradeIdea, wallet: string, inflateImages?: boolean) => Promise<void>;
        doDecryptableIdeas: (ideas: CONTRACT_INTERFACES.ITradeIdea[], wallet: string, inflateImages?: boolean) => Promise<void>;
        doDecryptableIdeasOnPagingIfAccessible: (ideas: IPaging<CONTRACT_INTERFACES.ITradeIdea>, wallet: string, accessible?: boolean) => Promise<void>;
        listIdeasByStrategyUniqueKeyFromChain: (strategyUniqueKey: string, validatedOnly?: boolean, page?: number, limit?: number, filterType?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind[] | "bypass", filterIncludeEncrypted?: boolean, bypassPaginationAndGetAll?: boolean) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
        listIdeaNftsByStrategyUniqueKey: (strategyUniqueKey: string, validatedOnly?: boolean, page?: number, limit?: number, filterType?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind[] | "bypass", filterIncludeEncrypted?: boolean, bypassPaginationAndGetAll?: boolean) => Promise<number[]>;
        getStrategyPortfolio: (uniqueStrategyKey: string) => Promise<import("../../").IPortfolioView | "ENCRYPTED">;
        listStrategyRebalances: (uniqueStrategyKey: string, page?: number, limit?: number, userWallet?: string | undefined) => Promise<IPaging<import("../../").IPortfolioRebalanceOpaque | import("../../").IPortfolioRebalance>>;
        getStrategyRebalance: (uniqueStrategyKey: string, rebalanceReference: string, userWallet?: string | undefined) => Promise<import("../../").IPortfolioRebalanceOpaque | import("../../").IPortfolioRebalance>;
        listStrategyRebalancesInPeriod: (uniqueStrategyKey: string, from: number, to: number, page?: number, limit?: number, userWallet?: string | undefined) => Promise<IPaging<import("../../").IPortfolioRebalanceOpaque | import("../../").IPortfolioRebalance>>;
        public: {
            getIdeaByUniqueContractAndId: (contract: string, ideaNftId: number) => Promise<CONTRACT_INTERFACES.ITradeIdea>;
            getIdeaByUniqueId: (uniqueIdeaId: string) => Promise<CONTRACT_INTERFACES.ITradeIdea>;
            getStrategyWithCreator: (strategyUniqueKey: string) => Promise<import("../../").IStrategyWithCreator>;
        };
    };
    resetCache: () => Promise<void>;
    getETHBalance: (contract?: Contract | undefined) => Promise<number>;
    ideaPublicVerificationHtml: (nftId: number, isPublic?: boolean | undefined, size?: "small" | "medium" | "large" | undefined, contract?: Contract | undefined) => Promise<string>;
    getProviderList: () => Promise<string[]>;
    getPricingProviderList: () => Promise<{
        name: "Binance" | "CryptoCompare" | "IEX" | "IG Group" | "Alpaca" | "Tradestation" | "CoinMarketCap";
        enabled: boolean;
    }[]>;
    isCloseIdea: (idea: CONTRACT_INTERFACES.ITradeIdea) => boolean;
    settings: (contract?: IContract) => Promise<import("./contract.module").IWalletSettings>;
    supportedChainNetworks: () => ("amoy" | "polygon")[];
    config: (_config: import("../../").IActivConfig) => Promise<void>;
    getEstimatedCosts: (newIdea?: boolean, clientInBehalf?: string, contract?: IContract) => Promise<IOperationalCost>;
    createIdea: (payload: CONTRACT_INTERFACES.ICreateIdeaRequest, gasAggressivity?: number, contract?: IContract | undefined, ixilyAssistedFiatMint?: import("../../").IxilyAssistedFiatMint | undefined, cached?: {
        chainOfStrategy: IStrategyChain;
        cachedStrategyState: CONTRACT_INTERFACES.IStrategyState;
    } | undefined) => Promise<import("../../").IdeaCreationResult>;
    createPortfolioEntry: (payload: import("../../").IPortfolioAssetRequest, gasAggressivity?: number, contract?: IContract | undefined, ixilyAssistedFiatMint?: import("../../").IxilyAssistedFiatMint | undefined, cached?: {
        chainOfStrategy: IStrategyChain;
        cachedStrategyState: CONTRACT_INTERFACES.IStrategyState;
    } | undefined) => Promise<import("../../").IdeaCreationResult>;
    createPortfolio: (payload: import("../../").IPortfolioRequest, gasAggressivity?: number, contract?: IContract | undefined, ixilyAssistedFiatMint?: import("../../").IxilyAssistedFiatMint | undefined, cached?: {
        chainOfStrategy: IStrategyChain;
        cachedStrategyState: CONTRACT_INTERFACES.IStrategyState;
    } | undefined) => Promise<{
        step: {
            kindStep: "open" | "close" | "adjust" | "void";
            createIdeaRequest?: CONTRACT_INTERFACES.ICreateIdeaRequest | undefined;
            adjustIdeaRequest?: CONTRACT_INTERFACES.IAdjustIdeaRequest | undefined;
            closeIdeaRequest?: CONTRACT_INTERFACES.ICloseIdeaRequest | undefined;
            price?: CONTRACT_INTERFACES.IValidPrice | undefined;
        };
        result: import("../../").IPortfolioResult;
    }[]>;
    createNormalizedTradeIdea: (tradeIdea: CONTRACT_INTERFACES.ITradeIdea, gasAggressivity?: number, contract?: IContract | undefined, ixilyAssistedFiatMint?: import("../../").IxilyAssistedFiatMint | undefined, cached?: {
        chainOfStrategy: IStrategyChain;
        cachedStrategyState: CONTRACT_INTERFACES.IStrategyState;
    } | undefined) => Promise<import("../../").IdeaCreationResult>;
    adjustIdea: (payload: CONTRACT_INTERFACES.IAdjustIdeaRequest, contract?: IContract | undefined, adjustDisabled?: boolean, gasAggressivity?: number, ixilyAssistedFiatMint?: import("../../").IxilyAssistedFiatMint | undefined) => Promise<CONTRACT_INTERFACES.ITradeIdea | import("../../").IdeaCreationResult>;
    closeIdea: (payload: CONTRACT_INTERFACES.ICloseIdeaRequest, contract?: IContract | undefined, closeDisabled?: boolean, gasAggressivity?: number, ixilyAssistedFiatMint?: import("../../").IxilyAssistedFiatMint | undefined) => Promise<CONTRACT_INTERFACES.ITradeIdea | import("../../").IdeaCreationResult>;
    providerCreateIdea: (client: string, createIdeaRequest: CONTRACT_INTERFACES.ICreateIdeaRequest, blockchainNetwork: string, contractName: string, gasAggressivity?: number, contract?: IContract | undefined) => Promise<import("../../").IdeaCreationResult>;
    providerCloseIdea: (client: string, payload: CONTRACT_INTERFACES.ICloseIdeaRequest, blockchainNetwork: string, contractName: string, gasAggressivity?: number, contract?: IContract | undefined) => Promise<import("../../").IdeaCreationResult>;
    providerAdjustIdea: (client: string, payload: CONTRACT_INTERFACES.IAdjustIdeaRequest, blockchainNetwork: string, contractName: string, gasAggressivity?: number, contract?: IContract | undefined) => Promise<import("../../").IdeaCreationResult>;
    providerCreateFiatMintIdea: (client: string, mintPayload: import("../../").IFiatMintRequest, contractName: string, contract?: IContract | undefined) => Promise<import("../../").IFiatMintResult>;
    createIdeaFromFiatMint: (payload: CONTRACT_INTERFACES.ICreateIdeaRequest, apiKey: string, customOrigin?: string | undefined, gasAggressivity?: number) => Promise<import("../../").IdeaCreationResult>;
    createNormalizedTradeIdeaFromFiatMint: (payload: CONTRACT_INTERFACES.ITradeIdea, apiKey: string, customOrigin?: string | undefined, gasAggressivity?: number) => Promise<import("../../").IdeaCreationResult>;
    adjustIdeaFromFiatMint: (payload: CONTRACT_INTERFACES.IAdjustIdeaRequest, apiKey: string, customOrigin?: string | undefined, gasAggressivity?: number) => Promise<CONTRACT_INTERFACES.ITradeIdea | import("../../").IdeaCreationResult>;
    closeIdeaFromFiatMint: (payload: CONTRACT_INTERFACES.ICloseIdeaRequest, apiKey: string, customOrigin?: string | undefined, gasAggressivity?: number) => Promise<CONTRACT_INTERFACES.ITradeIdea | import("../../").IdeaCreationResult>;
    giveIdeaAccessTo: (nftId: number, addresses: string[], contract?: IContract) => Promise<void>;
    getPricingInfo: (tradeIdea: CONTRACT_INTERFACES.ITradeIdea) => Promise<CONTRACT_INTERFACES.IValidPrice>;
    getIdeaViewers: (nftId: number, contract?: IContract) => Promise<string[]>;
    listStrategiesByCreator: (creator?: string, contract?: IContract) => Promise<any[]>;
    listStrategyIdeasByCreatorAndReference: (strategyReference: string, creator?: string, contract?: IContract) => Promise<number[]>;
    listStrategyIdeasStagesByCreatorAndReference: (strategyReference: string, ideaKey: number, creator?: string, contract?: IContract) => Promise<number[]>;
    getIdeaNftIdByKeys: (creator: string, strategyKey: string, ideaKey: number, stageKey: number, contract?: IContract) => Promise<number>;
    getIdeaMetadataByKeys: (strategyKey: string, ideaKey: number, stageKey: number, creator?: string, contract?: IContract) => Promise<string>;
    getIdeaByKeys: (strategyKey: string, ideaKey: number, stageKey: number, creator?: string, contract?: IContract) => Promise<CONTRACT_INTERFACES.ITradeIdea>;
    getIdeaByNftId: (ideaNft: number, decrypt?: boolean, inflateImages?: boolean, contract?: IContract) => Promise<CONTRACT_INTERFACES.ITradeIdea>;
    getExistingNftByStrategyRefAndTicker: (strategyReference: string, ticker: string, filterKind?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind | undefined, creator?: string | undefined, contract?: IContract | undefined) => Promise<CONTRACT_INTERFACES.ITradeIdea | undefined>;
    getCreatorOfNftIdea: (nftId: number, contract?: IContract) => Promise<string>;
    restoredIdeasWithPagination: (myTokens: number[], page: number, limit: number, contract: IContract, filterIdeaKind?: CONTRACT_INTERFACES.ITradeIdeaIdeaKind | undefined, skipError?: boolean | undefined) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
    restoreIdeaImages: (idea: CONTRACT_INTERFACES.ITradeIdea) => Promise<void>;
    restoreIdeasImages: (ideas: CONTRACT_INTERFACES.ITradeIdea[]) => Promise<void[]>;
    getAllIdeasUserCanSee: (page?: number, limit?: number, user?: string, contract?: IContract) => Promise<IPaging<any>>;
    getAllMyIdeas: (page?: number, limit?: number, contract?: IContract) => Promise<IPaging<any>>;
    getMyIdeas: (page?: number, limit?: number, contract?: IContract) => Promise<IPaging<CONTRACT_INTERFACES.ITradeIdea>>;
    getMetadataByBlockId: (blockId: number, decryptIdea?: boolean, contract?: IContract) => Promise<{
        blockNumber: number;
        nftId: number;
        data: any;
        cid: string;
        ipfsUrl: string;
        withAccess: boolean;
    }>;
    getKeysFromIdea: (tradeIdea: CONTRACT_INTERFACES.ITradeIdea) => {
        strategyKey: string;
        ideaKey?: number | undefined;
        ideaStageKey?: number | undefined;
        nftId?: number | undefined;
        tradeIdea: CONTRACT_INTERFACES.ITradeIdea;
    };
    testPricingAsset: (request: CONTRACT_INTERFACES.IProviderRequest) => Promise<CONTRACT_INTERFACES.IPrice>;
    getStrategyChain: (strategyKey: string, creator?: string, contract?: IContract) => Promise<IStrategyChain>;
    getValidatedStrategyChain: (strategyKey: string, creator?: string, contract?: IContract) => Promise<IStrategyChain>;
    getStrategyMetadata: (strategyChain?: IStrategyChain, strategyKey?: string, creator?: string, contract?: IContract) => Promise<CONTRACT_INTERFACES.ITradeIdeaStrategy>;
    getChronologicalIdeasFromStrategyChain: (chain: IStrategyChain) => CONTRACT_INTERFACES.ITradeIdea[];
    getActiveIdeasFromStrategyChain: (chain: IStrategyChain) => CONTRACT_INTERFACES.ITradeIdea[];
    getCurrentStrategyTickers: (strategyChainOrStrategyKey: IStrategyChain | string, creator?: string, contract?: IContract) => Promise<{
        ticker: string;
        ideaKey: number;
    }[]>;
    authorizeProvider: (provider: string, contract?: IContract) => Promise<void>;
    revokeProvider: (provider: string, contract?: IContract) => Promise<void>;
    authorizeCheck: (provider: string, contract?: IContract) => Promise<boolean>;
    providerCheck: (client: string, contract?: IContract) => Promise<boolean>;
    listContractChains: () => string[];
    listContractsForChain: (network: string) => string[];
    selectChainContract: (blockchainNetwork: string, contractName: string | import("../../").IContractRecipe, details?: import("../../").IWeb3AuthorizationOptions | undefined) => Promise<IContract>;
    getBlockchainContract: () => IContract;
    getGateContract: () => Contract | undefined;
    testLitActionsAvailability: () => Promise<{
        results: {
            result: "success" | "failure";
            nodes: number;
            response?: any;
            error?: any;
        }[];
        success: boolean;
        minForSuccess: number;
        maximumNodes: number;
        workingNodes: number;
    }>;
    isValidWalletAddress: (walletAddressList: string[]) => {
        globalCheck: boolean;
        checkerResponse: {
            [key: string]: boolean;
        };
    };
    listNetworks: () => {
        name: string;
        image: string;
    }[];
    readEvents: () => Promise<import("../../").IdeaCreatedEvent[]>;
    updateCurrentContractDb: (contract?: IContract) => Promise<void>;
    serveContractsDb: (chainContracts: IMessContractSpecs[]) => Promise<MyMessDbServer[]>;
    listStrategyReferences: (creator?: string, contract?: IContract) => Promise<string[]>;
    getStrategyIdeasCanonical: (strategyReference: string, creator?: string, contract?: IContract) => Promise<CONTRACT_INTERFACES.ITradeIdea[]>;
    listStrategyReferencesCanonical: (creator?: string, contract?: IContract) => Promise<string[]>;
    listStrategiesDetailsCanonical: (creator?: string, contract?: IContract) => Promise<CONTRACT_INTERFACES.ITradeIdeaStrategy[]>;
    listAllIdeasCanonical: (creator?: string, contract?: IContract) => Promise<CONTRACT_INTERFACES.ITradeIdea[]>;
};
