import type { AnyObject, EmbeddingsModel, Language, Maybe, Nullable } from './lib/types.js'; import type { ClientRequestInit } from './common.js'; import { Client } from './common.js'; export type OramaCoreManagerConfig = { url: string; masterAPIKey: string; }; export type CreateCollectionParams = { id: string; description?: Nullable; writeAPIKey?: Nullable; readAPIKey?: Nullable; language?: Nullable; embeddingsModel?: Nullable; }; export type NewCollectionResponse = { id: string; description?: Maybe; writeAPIKey: string; readonlyAPIKey: string; }; export type CollectionIndexField = { field_id: string; field_path: string; is_array: boolean; field_type: AnyObject; }; export type CollectionIndex = { id: string; document_count: number; fields: CollectionIndexField[]; automatically_chosen_properties: AnyObject; }; export type GetCollectionsResponse = { id: string; description: Maybe; document_count: number; indexes: CollectionIndex[]; }; export declare class OramaCoreManager { collection: CollectionNamespace; constructor(config: OramaCoreManagerConfig); } declare class CollectionNamespace { client: Client; constructor(client: Client); create(config: CreateCollectionParams, init?: ClientRequestInit): Promise; list(init?: ClientRequestInit): Promise; get(collectionID: string, init?: ClientRequestInit): Promise; delete(collectionID: string, init?: ClientRequestInit): Promise; } export {}; //# sourceMappingURL=manager.d.ts.map