/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type UseQueryResult } from '@tanstack/react-query'; import type { QueryOverrides } from './types.js'; import type { RequestOptions } from '@elaraai/e3-api-client'; import type { PackageObject } from '@elaraai/e3-types'; export declare function usePackageList(url: string, repo: string, requestOptions?: RequestOptions, queryOptions?: QueryOverrides): UseQueryResult<{ readonly name: string; readonly version: string; }[], Error>; export declare function usePackageGet(url: string, repo: string, name: string, version: string, requestOptions?: RequestOptions, queryOptions?: QueryOverrides): UseQueryResult; export declare function usePackageImport(url: string, repo: string, requestOptions?: RequestOptions): import("@tanstack/react-query").UseMutationResult<{ readonly name: string; readonly version: string; readonly packageHash: string; readonly objectCount: bigint; }, Error, Uint8Array, unknown>; export declare function usePackageExport(url: string, repo: string, name: string, version: string, requestOptions?: RequestOptions, queryOptions?: QueryOverrides): UseQueryResult, Error>; export declare function usePackageRemove(url: string, repo: string, requestOptions?: RequestOptions): import("@tanstack/react-query").UseMutationResult; //# sourceMappingURL=packages.d.ts.map