import type { ApiClient } from './api'; import type { Collection } from './types'; export declare function getCollections(api: ApiClient): Promise>; interface UpdateFieldRelationParams { collections: Record; collectionName: string; fieldName: string; relationType: 'one' | 'many' | 'm2a'; relatedCollection?: string | string[]; allowedCollections?: string[]; } export declare function updateFieldRelation({ collections, collectionName, fieldName, relationType, relatedCollection, allowedCollections, }: UpdateFieldRelationParams): void; export {};