import Docker from 'dockerode'; export interface RemoteDockerConfig { /** SSH host name (as defined in ~/.ssh/config) or IP address */ host: string; /** SSH port (default: 22) */ port?: number; /** SSH username */ username?: string; /** Path to SSH private key file */ privateKey?: string; /** SSH private key content as string */ privateKeyContent?: string; /** SSH passphrase for private key */ passphrase?: string; /** Remote Docker socket path (default: /var/run/docker.sock) */ socketPath?: string; /** Connection timeout in milliseconds (default: 10000) */ timeout?: number; } export interface DockerConnectionConfig { /** Use local Docker daemon */ local?: boolean; /** Remote Docker configuration */ remote?: RemoteDockerConfig; /** Override Docker options */ dockerOptions?: Docker.DockerOptions; } /** * Detects the appropriate Docker socket path based on the environment */ export declare function detectDockerSocketPath(): string; /** * Parses SSH config to extract host details */ export declare function parseSSHConfig(hostname: string): Partial; /** * Creates Docker options for remote connection */ export declare function createRemoteDockerOptions(config: RemoteDockerConfig): Docker.DockerOptions; /** * Creates Docker options with the best available configuration */ export declare function createDockerOptions(config?: DockerConnectionConfig): Docker.DockerOptions; /** * Parses connection string in format: [user@]host[:port] */ export declare function parseConnectionString(connectionString: string): RemoteDockerConfig; //# sourceMappingURL=docker-config.d.ts.map