import { t as Namespace } from "./types-DHTY3l5T.mjs"; //#region src/modules/elastic/types.d.ts type Mapping = Record; type Index = string; //#endregion //#region src/modules/elastic/methods.d.ts /** * List all available indices * * Providing a query will resolve it * * @param namespace The concerned namespace. **Needed if not admin** * * @returns The list of available indices */ declare function getAllIndices(namespaceOrId?: Namespace | string, query?: string): Promise; /** * Get mapping of an specific index * * @param index The index (can be a wildcard) * @param namespace The concerned namespace. **Needed if not admin** * * @returns The list of available indices */ declare function getIndexMapping(index: string, namespaceOrId?: Namespace | string): Promise; //#endregion export { type Index, type Mapping, getAllIndices, getIndexMapping }; //# sourceMappingURL=elastic.d.mts.map