import * as path from 'path'; import { CommandRunner } from './kubectl'; export type ComposeTarget = { project: string; dir: string; files: string[]; }; export type Container = { id: string; service: string; image: string; state: string; oneoff: boolean; }; export type DbBuilders = { buildPgDumpCommand: (credentials: any, options: any) => string; buildRestorePsqlCommand: (credentials: any) => string; dumpRelations: (lines: string[]) => Array<{ schema: string; name: string; }>; buildDropRelationsStatement: (relations: Array<{ schema: string; name: string; }>) => string; createRestoreLineFilter: () => (line: string) => boolean; assertCompleteDump: (text: string) => void; }; export declare function composeFiles(dir: string): string[]; export declare function composeArgs(t: ComposeTarget, args: string[]): string[]; export declare function overrideBuildsLocally(dir: string): boolean; export declare function findComposeProject(docker: CommandRunner, dir: string, o?: { pathApi?: path.PlatformPath; }): Promise; export declare function projectContainers(docker: CommandRunner, project: string, oneoffOnly?: boolean): Promise; export declare function trackedChanges(git: CommandRunner, dir: string, exempt: Record): Promise; export declare const sha256: (data: Buffer | string) => string; export declare function databaseSize(docker: CommandRunner, t: ComposeTarget): Promise; export declare function dumpDatabase(docker: CommandRunner, t: ComposeTarget, file: string, o: { builders: DbBuilders; signal?: AbortSignal; }): Promise; export declare function restoreDatabase(docker: CommandRunner, t: ComposeTarget, file: string, o: { builders: DbBuilders; }): Promise; export type HttpGet = (url: string) => Promise; export declare const httpStatus: HttpGet; export declare function nginxPort(dir: string): string; export type ImageCoordinates = { registry?: string | null; organization?: string | null; tag?: string | null; }; export declare function imageEnv(images: ImageCoordinates | null): Record; export declare function withComposeEnv(docker: CommandRunner, dir: string, images: () => ImageCoordinates | null): CommandRunner; export declare function isSafeRelativePath(rel: unknown): rel is string; export declare const healthUrls: (dir: string) => { gateway: string; admin: string; nginx: string; }; export declare function waitHealthy(get: HttpGet, urls: Record, { timeoutSeconds, pollMs }?: { timeoutSeconds?: number | undefined; pollMs?: number | undefined; }): Promise; //# sourceMappingURL=dockerHost.d.ts.map