@ledgerhq/domain-service
Version:
Ledger service responsible for domain handling
13 lines • 475 B
TypeScript
import { PromiseResult } from "../types";
/**
* Needed polyfill for Promise.allSettled as it doesn't exist on RN.
*/
export declare const allSettled: <T>(promises: Promise<T>[]) => Promise<PromiseResult<T>[]>;
/**
* Helper to know in advance if a domain is compatible with the nano
*
* @param domain string representing the domain
* @returns {Boolean}
*/
export declare const validateDomain: (domain: string | undefined) => boolean;
//# sourceMappingURL=index.d.ts.map