import type { RefByUnique } from '../instantiation/RefByUnique'; import type { Ref } from './Ref.type'; import type { DomainObjectShape, Refable } from './Refable'; export declare const isRefByUnique: , TShape extends DomainObjectShape = any, TPrimary extends readonly string[] = any, TUnique extends readonly string[] = any>({ of, }: { of: TDobj; }) => (ref: Ref, // refable to ensure even unclassed .getReferenceTo usage can use this TShape, TPrimary, TUnique>) => ref is RefByUnique;