@rocketspark/domain-checker
Version:
Embeddable Domain Checker for Rocketspark
16 lines (15 loc) • 456 B
TypeScript
export interface DomainSuggestions {
prefix: string;
suffixes: string[];
}
export interface DomainResponse {
currency: string;
taxLabel: string;
isAvailable: boolean;
formattedPrice: string;
formattedYearlyPrice: string | null;
success: boolean;
error: string;
domainSuggestions: DomainSuggestions;
}
export declare const FetchDomain: (domainName: string, locale: string, limit?: number) => Promise<DomainResponse>;