import { Component } from '../utils/pojo/common'; import { CatalystApp } from '../catalyst-app'; import NoSQLTable from './table'; import { NoSQLItem } from './item'; import { NoSQLByte } from './byte'; import { NoSQLByteSet, NoSQLNumberSet, NoSQLStringSet } from './set'; import { INoSQLTable } from './types'; import * as NoSQLEnum from './enum'; import { NoSQLMarshall } from './marshall'; import { NoSQLUnMarshall } from './unmarshall'; export default class NoSQL implements Component { #private; constructor(app: CatalystApp); getComponentName(): string; /** * Get a NoSQL table with table Name or table Id * @param tableId Id or Name of the NoSQL Table * @returns NoSQL Table object */ getTable(tableId: string): Promise; /** * Get all NoSQL table present in the project * @returns All NoSQL tables */ getAllTable(): Promise>; /** * Get a NoSQL table instance with table Name or table Id. * This function creates a NoSQL instance object without making an API call * @param id Id or Name of the table * @returns an empty NoSQL table instance */ table(id: string): NoSQLTable; /** * Get a NoSQLTable instance with the NoSQLTable details * This function creates a NoSQL instance object without making an API call * @param details NoSQL Table details * @returns NoSQL table instance with the provided NoSQL Table details */ table(details: INoSQLTable): NoSQLTable; } export { NoSQLItem, NoSQLByte, NoSQLStringSet, NoSQLNumberSet, NoSQLByteSet, NoSQLMarshall, NoSQLUnMarshall, /** * Enums used in NoSQL */ NoSQLEnum };