import type { TypeWithID } from 'payload'; import React from 'react'; export type Documents = { [slug: string]: { [id: number | string]: false | null | TypeWithID; }; }; type ListRelationshipContext = { documents: Documents; getRelationships: (docs: { relationTo: string; value: number | string; }[]) => void; }; export declare const RelationshipProvider: React.FC<{ readonly children?: React.ReactNode; }>; export declare const useListRelationships: () => ListRelationshipContext; export {}; //# sourceMappingURL=index.d.ts.map