import { UseQueryOptions } from '@tanstack/react-query'; import type { StorageDetailsResponseResponse } from '../responses/StorageDetailsResponseResponse'; import type { BadRequestResponse } from '../responses/BadRequestResponse'; import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse'; import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse'; import type { NotFoundResponse } from '../responses/NotFoundResponse'; import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetStorageDetailsQueryPathParams { space_ref: string; } export type GetStorageDetailsOkResponse = ResponseWithPagination; export type GetStorageDetailsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetStorageDetailsProps extends GetStorageDetailsQueryPathParams, Omit, 'url'> { } export declare function getStorageDetails(props: GetStorageDetailsProps): Promise; /** * Get storage details for given space */ export declare function useGetStorageDetailsQuery(props: GetStorageDetailsProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;