import { z } from 'zod'; /** * Zod schema for the AuthedUser 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 authedUser: z.ZodLazy; expiresIn: z.ZodOptional; id: z.ZodString; refreshToken: z.ZodOptional; scope: z.ZodOptional; tokenType: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; scope?: string | undefined; accessToken?: string | undefined; expiresIn?: number | undefined; refreshToken?: string | undefined; tokenType?: string | undefined; }, { id: string; scope?: string | undefined; accessToken?: string | undefined; expiresIn?: number | undefined; refreshToken?: string | undefined; tokenType?: string | undefined; }>>; /** * * @typedef {AuthedUser} authedUser * @property {string} - User token returned from the OAuth exchange. * @property {number} - Seconds until the user token expires. * @property {string} - Slack user ID for the installer. * @property {string} - Refresh token for the authed user. * @property {string} - Space-delimited OAuth scopes granted to the user token. * @property {string} - Token type value provided by Slack. */ export type AuthedUser = z.infer; /** * Zod schema for mapping API responses to the AuthedUser 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 authedUserResponse: z.ZodLazy; expires_in: z.ZodOptional; id: z.ZodString; refresh_token: z.ZodOptional; scope: z.ZodOptional; token_type: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; scope?: string | undefined; access_token?: string | undefined; expires_in?: number | undefined; refresh_token?: string | undefined; token_type?: string | undefined; }, { id: string; scope?: string | undefined; access_token?: string | undefined; expires_in?: number | undefined; refresh_token?: string | undefined; token_type?: string | undefined; }>, { accessToken: string | undefined; expiresIn: number | undefined; id: string; refreshToken: string | undefined; scope: string | undefined; tokenType: string | undefined; }, { id: string; scope?: string | undefined; access_token?: string | undefined; expires_in?: number | undefined; refresh_token?: string | undefined; token_type?: string | undefined; }>>; /** * Zod schema for mapping the AuthedUser 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 authedUserRequest: z.ZodLazy; expiresIn: z.ZodOptional; id: z.ZodString; refreshToken: z.ZodOptional; scope: z.ZodOptional; tokenType: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; scope?: string | undefined; accessToken?: string | undefined; expiresIn?: number | undefined; refreshToken?: string | undefined; tokenType?: string | undefined; }, { id: string; scope?: string | undefined; accessToken?: string | undefined; expiresIn?: number | undefined; refreshToken?: string | undefined; tokenType?: string | undefined; }>, { access_token: string | undefined; expires_in: number | undefined; id: string; refresh_token: string | undefined; scope: string | undefined; token_type: string | undefined; }, { id: string; scope?: string | undefined; accessToken?: string | undefined; expiresIn?: number | undefined; refreshToken?: string | undefined; tokenType?: string | undefined; }>>; //# sourceMappingURL=authed-user.d.ts.map