import * as z from "zod"; declare const PrismicAuthStateSchema: z.ZodObject<{ base: z.ZodString; token: z.ZodOptional; }, z.core.$strip>; export type PrismicAuthState = z.infer; declare const PrismicUserProfileSchema: z.ZodObject<{ userId: z.ZodString; shortId: z.ZodString; intercomHash: z.ZodString; email: z.ZodString; firstName: z.ZodString; lastName: z.ZodString; }, z.core.$strip>; export type PrismicUserProfile = z.infer; type PrismicAuthManagerConstructorArgs = { scopedDirectory?: string; }; type PrismicAuthManagerLoginArgs = { email: string; token: string; }; type PrismicAuthManagerGetLoginSessionInfoReturnType = { port: number; url: string; }; type PrismicAuthManagerNodeLoginSessionArgs = { port: number; onListenCallback?: () => void; }; export declare class PrismicAuthManager { scopedDirectory: string; constructor({ scopedDirectory, }?: PrismicAuthManagerConstructorArgs); login(args: PrismicAuthManagerLoginArgs): Promise; getLoginSessionInfo(): Promise; nodeLoginSession(args: PrismicAuthManagerNodeLoginSessionArgs): Promise; logout(): Promise; checkIsLoggedIn(): Promise; getAuthenticationToken(): Promise; refreshAuthenticationToken(): Promise; getProfile(): Promise; private _getProfileForAuthenticationToken; private _readPersistedAuthState; private _writePersistedAuthState; private _getPersistedAuthStateFilePath; } export {};