import { APIResource } from "../../../core/resource.js"; import { APIPromise } from "../../../core/api-promise.js"; import { RequestOptions } from "../../../internal/request-options.js"; export declare class BaseGraphql extends APIResource { static readonly _key: readonly ['cloudforceOne', 'threatEvents', 'graphql']; /** * Execute GraphQL aggregations over threat events. Supports multi-dimensional * group-bys, optional date range filtering, and multi-dataset aggregation. * * @example * ```ts * const graphql = * await client.cloudforceOne.threatEvents.graphql.create({ * account_id: 'account_id', * }); * ``` */ create(params: GraphqlCreateParams, options?: RequestOptions): APIPromise; } export declare class Graphql extends BaseGraphql { } export interface GraphqlCreateResponse { data?: unknown | null; errors?: Array | null; } export interface GraphqlCreateParams { /** * Account ID. */ account_id: string; } export declare namespace Graphql { export { type GraphqlCreateResponse as GraphqlCreateResponse, type GraphqlCreateParams as GraphqlCreateParams, }; } //# sourceMappingURL=graphql.d.ts.map