import type { RegistryCredential } from './types.js'; export interface ProbeOptions { retries?: number; intervalMs?: number; } /** * Probes the control-plane socket for HTTP readiness via docker compose exec. * * Retries up to `opts.retries` times (default 10) with `opts.intervalMs` delay * (default 2000ms) between attempts. Returns true once GET /state succeeds. */ export declare function probeControlPlaneReady(projectDir: string, opts?: ProbeOptions): Promise; export interface ForwardResult { forwarded: string[]; failed: string[]; } /** * Forwards registry credentials to the cluster's credhelper via * PUT /credentials/registry- over docker compose exec curl. */ export declare function forwardRegistryCredentials(projectDir: string, credentials: RegistryCredential[]): ForwardResult; /** * Removes the scoped Docker config directory created during image pull. * Idempotent — succeeds silently if the directory doesn't exist. */ export declare function cleanupScopedDockerConfig(projectDir: string): Promise; //# sourceMappingURL=credential-forward.d.ts.map