import { APIResource } from "../../core/resource.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class BaseASN extends APIResource { static readonly _key: readonly ['botnetFeed', 'asn']; /** * Gets all the data the botnet tracking database has for a given ASN registered to * user account for given date. If no date is given, it will return results for the * previous day. */ dayReport(asnID: number, params: ASNDayReportParams, options?: RequestOptions): APIPromise; /** * Gets all the data the botnet threat feed tracking database has for a given ASN * registered to user account. */ fullReport(asnID: number, params: ASNFullReportParams, options?: RequestOptions): APIPromise; } export declare class ASN extends BaseASN { } export interface ASNDayReportResponse { cidr?: string; date?: string; offense_count?: number; } export interface ASNFullReportResponse { cidr?: string; date?: string; offense_count?: number; } export interface ASNDayReportParams { /** * Path param: Identifier. */ account_id: string; /** * Query param */ date?: string; } export interface ASNFullReportParams { /** * Identifier. */ account_id: string; } export declare namespace ASN { export { type ASNDayReportResponse as ASNDayReportResponse, type ASNFullReportResponse as ASNFullReportResponse, type ASNDayReportParams as ASNDayReportParams, type ASNFullReportParams as ASNFullReportParams, }; } //# sourceMappingURL=asn.d.mts.map