import type { ProxmoxConfig } from "./types.js"; /** * PVE REST API client. * * Authentication: PVEAPIToken header (tokenId=tokenSecret). * PVE wraps all responses in { data: } — this client unwraps automatically. * SSL verification is configurable to support self-signed certificates common on PVE hosts. */ export declare class ProxmoxClient { private readonly config; private readonly http; constructor(config: ProxmoxConfig); /** * GET request that unwraps PVE's { data: T } response wrapper. */ get(path: string): Promise; /** * POST request that unwraps PVE's { data: T } response wrapper. */ post(path: string, data?: unknown): Promise; /** * Create a ProxmoxClient from environment variables. * * Required: * PROXMOX_API_URL — e.g. https://pve.example.com:8006 * PROXMOX_TOKEN_ID — e.g. user@pam!mytoken * PROXMOX_TOKEN_SECRET — the UUID secret * * Optional: * PROXMOX_VERIFY_SSL — "false" to disable SSL verification (default: true) * PROXMOX_TIMEOUT — request timeout in ms (default: 30000) */ static fromEnv(): ProxmoxClient; } //# sourceMappingURL=proxmox-client.d.ts.map