/** * asserts that an object has an id */ export type HasId = T & { id: number; }; /** * checks whether not an object that may have an id does have the id, at runtime */ export declare const hasId: (obj: T) => obj is HasId;