import { UseQueryOptions } from '@tanstack/react-query'; import type { DownloadFileResponseResponse } from '../responses/DownloadFileResponseResponse'; import type { RedirectResponse } from '../responses/RedirectResponse'; 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 GetFileQueryPathParams { file_name: string; } export interface GetFileQueryQueryParams { account_identifier: string; registry_identifier: string; path: string; } export type GetFileOkResponse = ResponseWithPagination; export type GetFileErrorResponse = RedirectResponse | BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetFileProps extends GetFileQueryPathParams, Omit, 'url'> { queryParams: GetFileQueryQueryParams; } export declare function getFile(props: GetFileProps): Promise; /** * Download file using file path */ export declare function useGetFileQuery(props: GetFileProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;