import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ChannelCredentials = { /** * Webhook URL used by chat app integrations. The webhook should be obtained from the chat app provider. */ webhookUrl?: string | undefined; /** * Channel specification for Mattermost chat notifications. */ channel?: string | undefined; /** * Contains an array of the subscriber device tokens for a given provider. Used on Push integrations. */ deviceTokens?: Array | undefined; /** * Alert UID for Grafana on-call webhook payload. */ alertUid?: string | undefined; /** * Title to be used with Grafana on-call webhook. */ title?: string | undefined; /** * Image URL property for Grafana on-call webhook. */ imageUrl?: string | undefined; /** * State property for Grafana on-call webhook. */ state?: string | undefined; /** * Link to upstream details property for Grafana on-call webhook. */ externalUrl?: string | undefined; }; /** @internal */ export declare const ChannelCredentials$inboundSchema: z.ZodType; /** @internal */ export type ChannelCredentials$Outbound = { webhookUrl?: string | undefined; channel?: string | undefined; deviceTokens?: Array | undefined; alertUid?: string | undefined; title?: string | undefined; imageUrl?: string | undefined; state?: string | undefined; externalUrl?: string | undefined; }; /** @internal */ export declare const ChannelCredentials$outboundSchema: z.ZodType; export declare function channelCredentialsToJSON(channelCredentials: ChannelCredentials): string; export declare function channelCredentialsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=channelcredentials.d.ts.map