import type { LexMap } from '@atproto/lex-data'; import type { AtUriString } from '@atproto/lex-schema'; import type { ExternalRecord, ExternalRecords } from '../../hydration/external.js'; import { com } from '../../lexicons/index.js'; type StrongRef = com.atproto.repo.strongRef.Main; /** * The canonical record, then the hydrated dependencies whose URI collection is * opted in by `PERSISTED_DEPENDENCY_COLLECTIONS` for the canonical collection. * Refs and associatedRecords are index-aligned, with CIDs taken from * hydration; unavailable records are excluded. `canonicalInfo`, when given, * is the selected canonical record (e.g. a pinned version) instead of the one * keyed by `canonicalUri` in `records`. */ export declare const collectAssociations: (canonicalUri: AtUriString, records: ExternalRecords, canonicalInfo?: ExternalRecord | null) => { associatedRefs: StrongRef[]; associatedRecords: LexMap[]; }; export {}; //# sourceMappingURL=associations.d.ts.map