import * as z from 'zod/mini'; import type { OAuth } from './oauth'; import type { Credentials } from './credentials-store'; /** * Re-authorize a team's SSO session by opening the browser and waiting for the user to complete * the SSO flow. Use when the user's SSO session has expired or missing. * */ export declare function reauthorizeTeam(params: { /** The team's slug that requires re-authorization */ team: string; /** The current access token that needs to be re-authorized */ token: Credentials['token']; oauth: OAuth; }): Promise; declare const SSOError: z.ZodMiniObject<{ code: z.ZodMiniString; message: z.ZodMiniString; scope: z.ZodMiniOptional>; enforced: z.ZodMiniOptional>; }, z.core.$strip>; /** Parse an error-like object to determine if SSO re-authorization is required. */ export declare function parseSSOError(error: unknown): z.infer | undefined; export {};