import { LoginPayload, RegisterPayload } from './payload.types'; import { User } from './resource.types'; export declare type WithToken = { token: string; }; export declare type WithDeviceName = { deviceName: string; }; export declare type LoginPayloadWithDeviceName = LoginPayload & WithDeviceName; export declare type RegisterPayloadWithDeviceName = RegisterPayload & WithDeviceName; export declare type UserWithToken = User & WithToken;