import { APIResource } from "../../../core/resource.mjs"; import { APIPromise } from "../../../core/api-promise.mjs"; import { RequestOptions } from "../../../internal/request-options.mjs"; export declare class BaseAccount extends APIResource { static readonly _key: readonly ['dns', 'usage', 'account']; /** * Get the current DNS record usage and quota for an account. May include internal * DNS usage and quota. * * @example * ```ts * const account = await client.dns.usage.account.get({ * account_id: '023e105f4ecef8ad9ca31a8372d0c353', * }); * ``` */ get(params: AccountGetParams, options?: RequestOptions): APIPromise; } export declare class Account extends BaseAccount { } export interface AccountGetResponse { /** * Maximum number of DNS records allowed across all public zones in the account. * Null if using zone-level quota. */ record_quota: number | null; /** * Current number of DNS records across all public zones in the account. */ record_usage: number; /** * Maximum number of DNS records allowed across all internal zones in the account. * Only present if internal DNS is enabled. */ internal_record_quota?: number; /** * Current number of DNS records across all internal zones in the account. Only * present if internal DNS is enabled. */ internal_record_usage?: number; } export interface AccountGetParams { /** * Identifier. */ account_id: string; } export declare namespace Account { export { type AccountGetResponse as AccountGetResponse, type AccountGetParams as AccountGetParams }; } //# sourceMappingURL=account.d.mts.map