import { IDevKnativeEventingPkgApisEventingV1alpha1EventPolicyFromReference } from "./EventPolicyFromReference.js"; import { ModelData, Model } from "@kubernetes-models/base"; export interface IEventPolicySpecFrom { /** * Ref contains a direct reference to a resource which is allowed to send events to the target. */ "ref"?: IDevKnativeEventingPkgApisEventingV1alpha1EventPolicyFromReference; /** * Sub sets the OIDC identity name to be allowed to send events to the target. * It is also possible to set a glob-like pattern to match any suffix. */ "sub"?: string; } export declare class EventPolicySpecFrom extends Model implements IEventPolicySpecFrom { "ref"?: IDevKnativeEventingPkgApisEventingV1alpha1EventPolicyFromReference; "sub"?: string; constructor(data?: ModelData); } export type { IEventPolicySpecFrom as IDevKnativeEventingPkgApisEventingV1alpha1EventPolicySpecFrom, EventPolicySpecFrom as DevKnativeEventingPkgApisEventingV1alpha1EventPolicySpecFrom };