import { z } from 'zod'; /** * Zod schema for the SlackToken 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 slackToken: z.ZodLazy>; id: z.ZodString; oauth: z.ZodOptional; }, "strip", z.ZodTypeAny, { installationId: string; channelId: string; scope?: string | undefined; }, { installationId: string; channelId: string; scope?: string | undefined; }>>>; updatedAt: z.ZodNullable>; webhook: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { createdAt: string; id: string; updatedAt?: string | null | undefined; discardedAt?: string | null | undefined; oauth?: { installationId: string; channelId: string; scope?: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }, { createdAt: string; id: string; updatedAt?: string | null | undefined; discardedAt?: string | null | undefined; oauth?: { installationId: string; channelId: string; scope?: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }>>; /** * * @typedef {SlackToken} slackToken * @property {string} - The timestamp when the token was created. * @property {string} - The timestamp when the token was discarded, if applicable. * @property {string} - The unique identifier for the token. * @property {Oauth} * @property {string} - The timestamp when the token metadata last changed. * @property {SlackTokenWebhook} - Obtained directly from the incoming_webhook object in the installation response from the Slack API. */ export type SlackToken = z.infer; /** * Zod schema for mapping API responses to the SlackToken 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 slackTokenResponse: z.ZodLazy>; id: z.ZodString; oauth: z.ZodOptional; }, "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; }>>>; updated_at: z.ZodNullable>; webhook: z.ZodOptional, { url: string; }, { url: string; }>>>; }, "strip", z.ZodTypeAny, { id: string; created_at: string; updated_at?: string | null | undefined; discarded_at?: string | null | undefined; oauth?: { channelId: string; installationId: string; scope: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }, { id: string; created_at: string; updated_at?: string | null | undefined; discarded_at?: string | null | undefined; oauth?: { installation_id: string; channel_id: string; scope?: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }>, { createdAt: string; discardedAt: string | null | undefined; id: string; oauth: { channelId: string; installationId: string; scope: string | undefined; } | undefined; updatedAt: string | null | undefined; webhook: { url: string; } | undefined; }, { id: string; created_at: string; updated_at?: string | null | undefined; discarded_at?: string | null | undefined; oauth?: { installation_id: string; channel_id: string; scope?: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }>>; /** * Zod schema for mapping the SlackToken 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 slackTokenRequest: z.ZodLazy>; id: z.ZodString; oauth: z.ZodOptional; }, "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; }>>>; updatedAt: z.ZodNullable>; webhook: z.ZodOptional, { url: string; }, { url: string; }>>>; }, "strip", z.ZodTypeAny, { createdAt: string; id: string; updatedAt?: string | null | undefined; discardedAt?: string | null | undefined; oauth?: { channel_id: string; installation_id: string; scope: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }, { createdAt: string; id: string; updatedAt?: string | null | undefined; discardedAt?: string | null | undefined; oauth?: { installationId: string; channelId: string; scope?: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }>, { created_at: string; discarded_at: string | null | undefined; id: string; oauth: { channel_id: string; installation_id: string; scope: string | undefined; } | undefined; updated_at: string | null | undefined; webhook: { url: string; } | undefined; }, { createdAt: string; id: string; updatedAt?: string | null | undefined; discardedAt?: string | null | undefined; oauth?: { installationId: string; channelId: string; scope?: string | undefined; } | undefined; webhook?: { url: string; } | undefined; }>>; //# sourceMappingURL=slack-token.d.ts.map