import { type Ref, type Refable, type RefByUnique } from 'domain-objects'; import type { DeclastructDao } from '../../domain.objects/DeclastructDao'; /** * .what = resolves any ref to RefByUnique * .why = enables getting unique key from any ref type * .note = if ref is already RefByUnique, returns as-is without db call */ export declare const getRefByUnique: , TContext extends Record>(input: { ref: Ref; }, context: { dao: DeclastructDao; } & TContext) => Promise | null>;