import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Unify event source
 */
export declare const EventSource: {
    readonly Native: "native";
    readonly Virtual: "virtual";
};
/**
 * Unify event source
 */
export type EventSource = ClosedEnum<typeof EventSource>;
/**
 * Unify event that is supported on the connector. Events are delivered via Webhooks.
 */
export type ConnectorEvent = {
    /**
     * Unify event type
     */
    eventType?: string | undefined;
    /**
     * Unify event source
     */
    eventSource?: EventSource | undefined;
    /**
     * Downstream event type
     */
    downstreamEventType?: string | undefined;
    resources?: Array<string> | undefined;
    /**
     * Unify entity type
     */
    entityType?: string | undefined;
};
/** @internal */
export declare const EventSource$inboundSchema: z.ZodNativeEnum<typeof EventSource>;
/** @internal */
export declare const ConnectorEvent$inboundSchema: z.ZodType<ConnectorEvent, z.ZodTypeDef, unknown>;
export declare function connectorEventFromJSON(jsonString: string): SafeParseResult<ConnectorEvent, SDKValidationError>;
//# sourceMappingURL=connectorevent.d.ts.map