@goatlab/typesense
Version:
Modern TypeScript wrapper for Typesense search engine API
5 lines (4 loc) • 328 B
TypeScript
import type { TypesenseHealthResponse } from '../../typesense.model';
import type { TypesenseContext } from '../../types';
export declare function health(ctx: TypesenseContext): Promise<TypesenseHealthResponse>;
export declare function waitForHealth(ctx: TypesenseContext, maxRetries?: number, delayMs?: number): Promise<void>;