import { z } from "zod";
export declare const TokenMessageSchema: z.ZodObject<{
    type: z.ZodLiteral<"AUTH_SUCCESS">;
    accessToken: z.ZodString;
    user: z.ZodOptional<z.ZodObject<{
        name: z.ZodString;
        image: z.ZodNullable<z.ZodString>;
    }, z.core.$strip>>;
}, z.core.$strip>;
export type TokenMessage = z.infer<typeof TokenMessageSchema>;
export declare const ErrorMessageSchema: z.ZodObject<{
    error: z.ZodString;
}, z.core.$strip>;
export declare const TokenSchema: z.ZodObject<{
    access_token: z.ZodString;
    refresh_token: z.ZodOptional<z.ZodString>;
    expires_in: z.ZodNumber;
    token_type: z.ZodDefault<z.ZodString>;
    id_token: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type Token = z.infer<typeof TokenSchema>;
export declare const ProfileSchema: z.ZodObject<{
    sub: z.ZodString;
    name: z.ZodOptional<z.ZodString>;
    email: z.ZodOptional<z.ZodEmail>;
    given_name: z.ZodOptional<z.ZodString>;
    family_name: z.ZodOptional<z.ZodString>;
    roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>;
export type Profile = z.infer<typeof ProfileSchema>;
export declare const URLSchema: z.ZodURL;
