import { IDevKnativeEventingPkgApisEventingV1alpha1EventTransformations } from "./EventTransformations.js"; import { IDevKnativeEventingPkgApisEventingV1alpha1ReplySpec } from "./ReplySpec.js"; import { IDevKnativePkgApisDuckV1Destination } from "../../duck.knative.dev/v1/Destination.js"; import { IDevKnativeEventingPkgApisEventingV1alpha1JsonataEventTransformationSpec } from "./JsonataEventTransformationSpec.js"; import { ModelData, Model } from "@kubernetes-models/base"; export interface IEventTransformSpec extends IDevKnativeEventingPkgApisEventingV1alpha1EventTransformations { /** * Reply is the configuration on how to handle responses from Sink. * It can only be set if Sink is set. */ "reply"?: IDevKnativeEventingPkgApisEventingV1alpha1ReplySpec; /** * Sink is a reference to an object that will resolve to a uri to use as the sink. * * If not present, the transformation will send back the transformed event as response, this * is useful to leverage the built-in Broker reply feature to re-publish a transformed event * back to the broker. */ "sink"?: IDevKnativePkgApisDuckV1Destination; } export declare class EventTransformSpec extends Model implements IEventTransformSpec { "jsonata"?: IDevKnativeEventingPkgApisEventingV1alpha1JsonataEventTransformationSpec; "reply"?: IDevKnativeEventingPkgApisEventingV1alpha1ReplySpec; "sink"?: IDevKnativePkgApisDuckV1Destination; constructor(data?: ModelData); } export type { IEventTransformSpec as IDevKnativeEventingPkgApisEventingV1alpha1EventTransformSpec, EventTransformSpec as DevKnativeEventingPkgApisEventingV1alpha1EventTransformSpec };