UNPKG

@yoroi/resolver

Version:
27 lines 931 B
import { Resolver } from '@yoroi/types'; import { handleApiGetCryptoAddress } from './handle/api'; import { unstoppableApiGetCryptoAddress } from './unstoppable/api'; import { cnsCryptoAddress } from './cns/api'; import { WasmModuleProxy } from '@emurgo/cross-csl-core'; type ApiConfig = { [Resolver.NameServer.Unstoppable]: { apiKey: string; }; }; export declare const resolverApiMaker: ({ apiConfig, cslFactory, isMainnet, }: { apiConfig: Readonly<ApiConfig>; cslFactory: (scope: string) => WasmModuleProxy; isMainnet?: boolean | undefined; }, { unstoppableApi, handleApi, cnsApi, }?: { unstoppableApi: { getCryptoAddress: typeof unstoppableApiGetCryptoAddress; }; handleApi: { getCryptoAddress: typeof handleApiGetCryptoAddress; }; cnsApi: { getCryptoAddress: typeof cnsCryptoAddress; }; }) => Resolver.Api; export {}; //# sourceMappingURL=api.d.ts.map