import * as coreClient from "@azure/core-client"; import { GeneratedClientOptionalParams, EventGridEvent, PublishEventGridEventsOptionalParams, CloudEvent, PublishCloudEventEventsOptionalParams, PublishCustomEventEventsOptionalParams } from "./models/index.js"; /** @internal */ export declare class GeneratedClient extends coreClient.ServiceClient { apiVersion: string; /** * Initializes a new instance of the GeneratedClient class. * @param options The parameter options */ constructor(options?: GeneratedClientOptionalParams); /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */ private addCustomApiVersionPolicy; /** * Publishes a batch of events to an Azure Event Grid topic. * @param topicHostname The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net * @param events An array of events to be published to Event Grid. * @param options The options parameters. */ publishEventGridEvents(topicHostname: string, events: EventGridEvent[], options?: PublishEventGridEventsOptionalParams): Promise; /** * Publishes a batch of events to an Azure Event Grid topic. * @param topicHostname The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net * @param events An array of events to be published to Event Grid. * @param options The options parameters. */ publishCloudEventEvents(topicHostname: string, events: CloudEvent[], options?: PublishCloudEventEventsOptionalParams): Promise; /** * Publishes a batch of events to an Azure Event Grid topic. * @param topicHostname The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net * @param events An array of events to be published to Event Grid. * @param options The options parameters. */ publishCustomEventEvents(topicHostname: string, events: Record[], options?: PublishCustomEventEventsOptionalParams): Promise; } //# sourceMappingURL=generatedClient.d.ts.map