import { APIResource } from "../../core/resource.js";
import { PagePromise, SinglePage } from "../../core/pagination.js";
import { RequestOptions } from "../../internal/request-options.js";
export declare class BaseAccounts extends APIResource {
    static readonly _key: readonly ['tenants', 'accounts'];
    /**
     * Lists the Cloudflare accounts associated with this tenant.
     */
    list(tenantID: string, options?: RequestOptions): PagePromise<TenantAccountsSinglePage, TenantAccount>;
}
export declare class Accounts extends BaseAccounts {
}
export type TenantAccountsSinglePage = SinglePage<TenantAccount>;
export interface TenantAccount {
    id: string;
    created_on: string;
    name: string | null;
    settings: TenantAccount.Settings;
    type: 'standard' | 'enterprise';
    /**
     * Account tags, present only when `include_tags=true` is requested.
     */
    tags?: {
        [key: string]: string;
    };
}
export declare namespace TenantAccount {
    interface Settings {
        abuse_contact_email: string | null;
        access_approval_expiry: string | null;
        api_access_enabled: boolean | null;
        /**
         * @deprecated Use
         * [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-list-dns-settings)
         * instead. Deprecated.
         */
        default_nameservers: string | null;
        enforce_twofactor: boolean | null;
        /**
         * @deprecated Use
         * [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-list-dns-settings)
         * instead. Deprecated.
         */
        use_account_custom_ns_by_default: boolean | null;
    }
}
export declare namespace Accounts {
    export { type TenantAccount as TenantAccount, type TenantAccountsSinglePage as TenantAccountsSinglePage };
}
//# sourceMappingURL=accounts.d.ts.map