import Realm from "realm"; export declare function getObjectForPrimaryKey(realm: Realm, type: string | { new (...args: any): T; }, primaryKey: T[keyof T]): T | null; export declare function getObjects(realm: Realm, type: string | { new (...args: any): T; }): Realm.Results; export type CollectionCallback = Parameters[0]; export type AnyRealmObject = Realm.Object; export type RealmClassType = { new (...args: any): T; }; /** * Explicitly sets the unpicked properties of a type to never instead of dropping them like in Pick. * Useful for ensuring different prop types are mutually exclusive as React expects the union type * of different prop types to include all the fields. */ export type RestrictivePick = Pick & { [RestrictedKey in keyof Omit]?: never; }; export declare function isClassModelConstructor(value: unknown): value is RealmClassType; //# sourceMappingURL=helpers.d.ts.map