/**
 * Hook to create and manage an EshopClient instance with API key authentication
 * @param apiKey - API key for authentication
 * @param baseUrl - Base URL for API endpoints (optional, defaults to localhost:3000)
 * @returns Object with getProducts method
 */
export declare const useEshopClient: (apiKey: string, baseUrl?: string) => {
    getProducts: (organizationId: string) => Promise<{
        data: import("..").Product[] | undefined;
        error: string | undefined;
    } | {
        error: string;
        data?: undefined;
    }>;
    testConnection: () => Promise<{
        success: boolean;
        error?: string;
    }>;
};
//# sourceMappingURL=useEshopClient.d.ts.map