UNPKG

@rocketspark/domain-checker

Version:
23 lines (22 loc) 602 B
export interface DomainSuggestions { prefix: string; suffixes: string[]; } export interface Price { period: number; price: string; originalPrice: string; } export type Pricing = Price[]; export interface DomainResponse { currency: string; taxLabel: string; isAvailable: boolean; formattedPrice: string; formattedYearlyPrice: string | null; success: boolean; error: string; pricing: Pricing; domainSuggestions: DomainSuggestions; } export declare const FetchDomain: (domainName: string, locale: string, limit?: number) => Promise<DomainResponse>;