/** * Health-checking utilities for the local Ory development environment. */ export interface ServiceHealth { name: string; url: string; healthy: boolean; error?: string; } /** * Check the health of all local Ory services. * * `gatewayUrl` overrides the gateway probe URL (used by the manager after * a runtime gateway-mode fallback, where re-resolving via env var would * give a stale path). When omitted, falls back to env-var resolution * anchored at `projectRoot`. */ export declare function checkAllServices(options?: { projectRoot?: string; gatewayUrl?: string; }): Promise; /** * Wait until every backend service the seed writes to reports ready, polling * at the given interval. Returns `{ ready: true }` on success, or * `{ ready: false, pending }` listing the services that never came up within * the timeout. * * Call this before seeding: it closes the race where the gateway is green and * containers are "running" but Kratos / Keto / Hydra are not yet serving on * their admin/write ports. */ export declare function waitForSeedTargets(timeoutMs?: number, intervalMs?: number): Promise<{ ready: boolean; pending: string[]; }>; /** * Wait for the gateway to become healthy, polling at the given interval. * Returns true if healthy within the timeout, false otherwise. * * `gatewayUrl` overrides the probe URL (see `checkAllServices`). Otherwise * the URL is computed from env-var resolution anchored at `projectRoot`. */ export declare function waitForGateway(timeoutMs?: number, intervalMs?: number, options?: { projectRoot?: string; gatewayUrl?: string; }): Promise;