UNPKG

@arc-publishing/sdk-amp

Version:
22 lines (21 loc) 659 B
export interface InjectableIdentity { heartbeat: Function; isLoggedIn: Function; userIdentity: { accessToken?: string; }; options: Function; ampReaderId?: string | null | undefined; } export interface IdentityType { heartbeat: Function; isLoggedIn: Function; userIdentity: { accessToken?: string; }; ampReaderId?: string | null | undefined; options: Function; apiOrigin?: string; } export declare function isInjectableIdentity(identity: InjectableIdentity | any): identity is InjectableIdentity; export declare function isArcIdentity(identity: IdentityType | any): identity is IdentityType;