import { UseQueryOptions } from '@tanstack/react-query'; import type { ListMigrationImageResponseResponse } from '../responses/ListMigrationImageResponseResponse'; 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 ListMigrationImagesQueryPathParams { id: string; } export interface ListMigrationImagesQueryQueryParams { /** * @format int64 * @default 1 */ page?: number; /** * @format int64 * @default 20 */ size?: number; sort_order?: string; sort_field?: string; } export type ListMigrationImagesOkResponse = ResponseWithPagination; export type ListMigrationImagesErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface ListMigrationImagesProps extends ListMigrationImagesQueryPathParams, Omit, 'url'> { queryParams: ListMigrationImagesQueryQueryParams; } export declare function listMigrationImages(props: ListMigrationImagesProps): Promise; /** * List migration images given an id */ export declare function useListMigrationImagesQuery(props: ListMigrationImagesProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;