import type { IIoK8sApiCoreV1Container } from "kubernetes-models/_definitions/IoK8sApiCoreV1Container"; /** params for the [[waitForPostgres]] function */ export interface WaitForPostgresParams { /** name of the secret to use to check the PG connection */ secretRefName: string; } /** * This creates a [[Container]] using the [wait-for-postgres](https://github.com/SocialGouv/docker/tree/master/wait-for-postgres) docker image * * ```typescript * import { waitForPostgres } from "@socialgouv/kosko-charts/utils" * * const container = waitForPostgres({ * secretRefName: "some-secret" * }); * ``` * @category utils * @return {IIoK8sApiCoreV1Container} */ export declare const waitForPostgres: ({ secretRefName, }: WaitForPostgresParams) => IIoK8sApiCoreV1Container;