export type OvhRegion = "eu" | "us"; import { z } from "zod"; /** * Service for interacting with OVH API endpoints. * Provides region-aware API calls with schema validation. */ export declare class OvhApiService { private region; constructor(region?: OvhRegion); /** * Resolves a path to the full OVH API URL for the configured region. * @param path - API endpoint path (e.g., "/auth/credential") * @returns Full URL to the API endpoint */ resolve(path: string): string; getCreateAppUrl(): string; /** * Makes a POST request to an OVH API endpoint with schema validation. * @param endpoint - API endpoint path * @param data - Request body data * @param headers - Additional HTTP headers * @param responseSchema - Zod schema for response validation * @returns Promise resolving to validated response data * @throws {OvhApiException} When API request fails */ post(endpoint: string, data: unknown, headers: Record, responseSchema: z.ZodSchema): Promise; }