import type { CommonName } from './CommonName'; import type { WebHookAuth } from './WebHookAuth'; import type { WebHookHeader } from './WebHookHeader'; import type { WebHookTLSOptions } from './WebHookTLSOptions'; export declare type WebHook = { uri: string; name?: CommonName; /** * environments that this webhook serves, if absent webhook will be used for all environments */ environments?: Array; method: WebHook.method; mode: WebHook.mode; authentication?: WebHookAuth; tlsOptions?: WebHookTLSOptions; requestHeaders?: Array; }; export declare namespace WebHook { enum method { POST = "POST", PUT = "PUT" } enum mode { PARALLEL = "parallel", SERIAL = "serial" } }