import { ForcirResponse } from '~/response'; import { ForcirConfig, ForcirConfigCallbacks, ForcirData, LoginPayload, LoginPayloadWithDeviceName, RegisterPayload, RegisterPayloadWithDeviceName, User, UserWithToken } from '~/types'; export * from '~/lib'; export * from '~/types'; export * from '~/response'; export declare class Forcir { readonly baseUrl: string; readonly callbacks: ForcirConfigCallbacks; readonly options: RequestInit; constructor(config?: ForcirConfig); endpoint: (path: string) => URL; client: (path: string, options?: RequestInit) => Promise>; fetcher: (path: string, options?: RequestInit) => Promise>; healthCheck: (options?: RequestInit | undefined) => Promise; csrfCookie: (options?: RequestInit | undefined) => Promise; csrfToken: (options?: RequestInit | undefined) => Promise; login: (payload: LoginPayload, options?: RequestInit | undefined) => Promise>; register: (payload: RegisterPayload, options?: RequestInit | undefined) => Promise>; viewer: (options?: RequestInit | undefined) => Promise>; mobile: { login: (payload: LoginPayloadWithDeviceName, options?: RequestInit | undefined) => Promise>; register: (payload: RegisterPayloadWithDeviceName, options?: RequestInit | undefined) => Promise>; }; }