UNPKG

@yoroi/types

Version:
27 lines (25 loc) 731 B
/** * Flowtype definitions for api * Generated by Flowgen from a Typescript Definition * Flowgen v1.21.0 */ import { AxiosRequestConfig } from "axios"; import { ResolverReceiver } from "./receiver"; export interface ResolverApi { getCardanoAddresses( args: { resolve: $PropertyType<ResolverReceiver, "resolve">, strategy?: ResolverStrategy, ... }, fetcherOptions?: AxiosRequestConfig ): Promise<ResolverAddressesResponse>; } export type ResolverStrategy = "all" | "first"; export type ResolverAddressResponse = $ReadOnly<{ address: string | null, error: Error | null, nameServer: string | null, ... }>; export type ResolverAddressesResponse = $ReadOnlyArray<ResolverAddressResponse>;