import type { CosmosClientOptions } from '@azure/cosmos'; import type { Schema } from 'rads-db'; interface AzureCosmosDriverOptions { /** HTTPS endpoint of your cosmosdb instance. For example, https://mydb.documents.azure.com:443/ */ endpoint: string; /** Account key for your cosmosdb instance. Available in Azure Portal => CosmosDB => Keys => Primary Key */ accountKey: string; /** Defaults to "main" */ databaseName?: string; /** Defaults to "main" */ containerName?: string; /** Creates database and/or container if they don't exist */ createDatabaseIfNotExists?: boolean; options?: Omit; } declare const _default: (options: AzureCosmosDriverOptions) => (schema: Schema, entity: string) => MinimalDriver; export default _default;