import * as types from './types.js'; /** * Abstract Core Request class that defines the interface for all HTTP/HTTPS requests */ export declare abstract class CoreRequest { /** * Tests if a URL is a unix socket */ static isUnixSocket(url: string): boolean; /** * Parses socket path and route from unix socket URL * Handles both full URLs (http://unix:/path/to/socket:/route) and pre-stripped paths (unix:/path/to/socket:/route) * Returns clean file system path for socketPath (e.g., /var/run/docker.sock) */ static parseUnixSocketUrl(url: string): { socketPath: string; path: string; }; protected url: string; protected options: TOptions; constructor(url: string, options?: TOptions); /** * Fire the request and return a response */ abstract fire(): Promise; /** * Fire the request and return the raw response (platform-specific) */ abstract fireCore(): Promise; }