1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158 | /**
* Domain availability search, utilities, and the classified .ro web
* directory. `check` and `example` work anonymously (higher rate limits
* with an API key).
*/
import type { Client } from './client.js';
import type { Body, Query } from './types.js';
/** GET /domains/check — Check domain availability. Anonymous allowed. */
export declare const check: (client: Client, domain: string) => Promise<{
checked_at: string | null;
domain: string;
expires_at: string | null;
nameservers: string[] | null;
status: "available" | "registered" | "reserved" | "unknown";
tld: string;
}>;
/** GET /domains/info — Domain information utilities. */
export declare const info: (client: Client, domain: string, query?: Omit<Query<"/domains/info", "get">, "domain">) => Promise<{
dns?: {
[key: string]: unknown;
};
domain: string;
registry?: {
[key: string]: unknown;
} | null;
subdomains?: {
[key: string]: unknown;
};
tld: string;
whois?: {
[key: string]: unknown;
};
}>;
/** GET /domains/preflight — Route a domain to the right inbound operation. */
export declare const preflight: (client: Client, domain: string) => Promise<{
domain: string;
expires_at: string | null;
registrant_controlled: boolean | null;
registrant_email_hint: string | null;
registration_id: string | null;
sponsorship: ("ird" | "external" | "unregistered" | "unknown") | null;
verdict: "adopt" | "trade-in" | "transfer-or-acquire" | "register" | "already-yours" | "unavailable" | "unknown";
}>;
/** GET /domains/dns-snapshot — Faithful copy of a domain's live DNS. */
export declare const dnsSnapshot: (client: Client, domain: string, query?: Omit<Query<"/domains/dns-snapshot", "get">, "domain">) => Promise<{
domain: string;
id: string;
meta: {
[key: string]: unknown;
} | null;
nameservers: string[];
records: {
class: string;
data: {
[key: string]: unknown;
};
name: string;
ttl: number;
type: string;
}[];
taken_at: string;
tld: string;
}>;
/** GET /domains/search — Suggest available domain names. */
export declare const search: (client: Client, q: string, query?: Omit<Query<"/domains/search", "get">, "q">) => Promise<{
query: string;
suggestions: {
domain: string;
error?: string;
expires_at: string | null;
served_from: string | null;
status: "available" | "registered" | "reserved" | "unknown";
tld: string;
}[];
}>;
/** POST /domains/search — Suggest available domain names from a long description. */
export declare const searchDescriptions: (client: Client, body: Body<"/domains/search", "post">) => Promise<{
query: string;
suggestions: {
domain: string;
error?: string;
expires_at: string | null;
served_from: string | null;
status: "available" | "registered" | "reserved" | "unknown";
tld: string;
}[];
}>;
/** GET /domains/example — Example .ro domain. Anonymous allowed. */
export declare const example: (client: Client) => Promise<{
domain: string;
}>;
/** GET /domains/directory — Browse the .ro web directory (cursor-paginated). */
export declare const directory: (client: Client, query?: Query<"/domains/directory", "get">) => Promise<{
entries: {
ad_networks: string[];
categories: ("news-media" | "government" | "education" | "health" | "e-commerce" | "business-services" | "finance" | "technology" | "travel-tourism" | "real-estate" | "auto" | "legal" | "culture-arts" | "sports" | "entertainment" | "food-restaurants" | "religion" | "ngo-nonprofit" | "blog-personal" | "adult" | "gambling" | "parked-for-sale" | "other")[];
classified_at: string | null;
contacts: {
[key: string]: unknown;
} | null;
cookie_consent: boolean | null;
cookie_consent_platform: string | null;
description: string | null;
domain: string;
first_seen_at: string | null;
language: string | null;
political_bias: ("left" | "center-left" | "center" | "center-right" | "right") | null;
sentiment: ("positive" | "neutral" | "negative" | "mixed") | null;
tag_managers: string[];
tags: string[];
title: string | null;
trackers: string[];
}[];
next_cursor: string | null;
total?: number;
}>;
/** Every directory entry matching the filters, following cursor pagination. */
export declare const directoryAll: (client: Client, query?: Query<"/domains/directory", "get">) => Promise<readonly {
ad_networks: string[];
categories: ("news-media" | "government" | "education" | "health" | "e-commerce" | "business-services" | "finance" | "technology" | "travel-tourism" | "real-estate" | "auto" | "legal" | "culture-arts" | "sports" | "entertainment" | "food-restaurants" | "religion" | "ngo-nonprofit" | "blog-personal" | "adult" | "gambling" | "parked-for-sale" | "other")[];
classified_at: string | null;
contacts: {
[key: string]: unknown;
} | null;
cookie_consent: boolean | null;
cookie_consent_platform: string | null;
description: string | null;
domain: string;
first_seen_at: string | null;
language: string | null;
political_bias: ("left" | "center-left" | "center" | "center-right" | "right") | null;
sentiment: ("positive" | "neutral" | "negative" | "mixed") | null;
tag_managers: string[];
tags: string[];
title: string | null;
trackers: string[];
}[]>;
/** GET /domains/directory/{domain} — Directory entry for a domain. */
export declare const directoryEntry: (client: Client, domain: string) => Promise<{
ad_networks: string[];
categories: ("news-media" | "government" | "education" | "health" | "e-commerce" | "business-services" | "finance" | "technology" | "travel-tourism" | "real-estate" | "auto" | "legal" | "culture-arts" | "sports" | "entertainment" | "food-restaurants" | "religion" | "ngo-nonprofit" | "blog-personal" | "adult" | "gambling" | "parked-for-sale" | "other")[];
classified_at: string | null;
contacts: {
[key: string]: unknown;
} | null;
cookie_consent: boolean | null;
cookie_consent_platform: string | null;
description: string | null;
domain: string;
first_seen_at: string | null;
language: string | null;
political_bias: ("left" | "center-left" | "center" | "center-right" | "right") | null;
sentiment: ("positive" | "neutral" | "negative" | "mixed") | null;
tag_managers: string[];
tags: string[];
title: string | null;
trackers: string[];
}>;
|