import { z } from 'zod'; /** * Zod schema for the SlackTokenPayload model. * Defines the structure and validation rules for this data type. * This is the shape used in application code - what developers interact with. */ export declare const slackTokenPayload: z.ZodLazy; }, "strip", z.ZodTypeAny, { installationId: string; channelId: string; scope?: string | undefined; }, { installationId: string; channelId: string; scope?: string | undefined; }>>>; webhook: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { oauth?: { installationId: string; channelId: string; scope?: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }, { oauth?: { installationId: string; channelId: string; scope?: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }>>; /** * * @typedef {SlackTokenPayload} slackTokenPayload * @property {SlackTokenPayloadOauth} * @property {SlackTokenPayloadWebhook} - Obtained directly from the incoming_webhook object in the installation response from the Slack API. */ export type SlackTokenPayload = z.infer; /** * Zod schema for mapping API responses to the SlackTokenPayload application shape. * Handles any property name transformations from the API schema. * If property names match the API schema exactly, this is identical to the application shape. */ export declare const slackTokenPayloadResponse: z.ZodLazy; }, "strip", z.ZodTypeAny, { installation_id: string; channel_id: string; scope?: string | undefined; }, { installation_id: string; channel_id: string; scope?: string | undefined; }>, { channelId: string; installationId: string; scope: string | undefined; }, { installation_id: string; channel_id: string; scope?: string | undefined; }>>>; webhook: z.ZodOptional, { url: string; }, { url: string; }>>>; }, "strip", z.ZodTypeAny, { oauth?: { channelId: string; installationId: string; scope: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }, { oauth?: { installation_id: string; channel_id: string; scope?: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }>, { oauth: { channelId: string; installationId: string; scope: string | undefined; } | undefined; webhook: { url: string; } | undefined; }, { oauth?: { installation_id: string; channel_id: string; scope?: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }>>; /** * Zod schema for mapping the SlackTokenPayload application shape to API requests. * Handles any property name transformations required by the API schema. * If property names match the API schema exactly, this is identical to the application shape. */ export declare const slackTokenPayloadRequest: z.ZodLazy; }, "strip", z.ZodTypeAny, { installationId: string; channelId: string; scope?: string | undefined; }, { installationId: string; channelId: string; scope?: string | undefined; }>, { channel_id: string; installation_id: string; scope: string | undefined; }, { installationId: string; channelId: string; scope?: string | undefined; }>>>; webhook: z.ZodOptional, { url: string; }, { url: string; }>>>; }, "strip", z.ZodTypeAny, { oauth?: { channel_id: string; installation_id: string; scope: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }, { oauth?: { installationId: string; channelId: string; scope?: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }>, { oauth: { channel_id: string; installation_id: string; scope: string | undefined; } | undefined; webhook: { url: string; } | undefined; }, { oauth?: { installationId: string; channelId: string; scope?: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }>>; //# sourceMappingURL=slack-token-payload.d.ts.map