import { Protocol, Type } from './generics/FctParams'; import { FctUnknownParam, IMethodParams, IPluginParams } from './generics/FctParams'; import { Params as CallParams } from './plugins/corelibTypes'; export declare const GAS_LIMIT_OVERHEAD = "27500"; export declare const MIN_GAS_LIMIT = "21000"; export declare const generateRandomUint64Number: () => string; export declare const toCapitalize: (name: string) => string; export declare const getParamIsNotDefined: (name: string) => string; export declare const validate: (params: { [key: string]: FctUnknownParam; }) => void; export declare const paramKeyToName: ({ key }: { key: string; }) => string; export declare const getMethodParams: ({ params, }: { params: Params; }) => CallParams[] & CallParams[][]; export declare const getContractInterface: ({ method, params }: { method: string; params: IMethodParams; }) => string; export declare const getContractInterfaceReturns: ({ params }: { params: IPluginParams['output']; }) => string; export declare const getMethodInterface: ({ method, params }: { method: string; params: IMethodParams; }) => string; export declare const getMethodDescription: ({ methodInterface, type, protocol, }: { methodInterface: string; type: Type; protocol: Protocol; }) => string; export declare const injectProtocol: ({ name, plugins }: { name: string; plugins: any; }) => void; export declare class FctParamsFactory { create(schema: T): T; } export declare const fctParamsFactory: FctParamsFactory; export declare const currencyToWei: (value: number | string, decimals?: number) => string; export declare const weiToCurrency: (value?: string, decimals?: number) => string | undefined; export declare const toBytes32: (value?: string) => string | undefined;