import { UseQueryOptions } from '@tanstack/react-query'; import type { ListFilesResponseResponse } from '../responses/ListFilesResponseResponse'; 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 SearchFilesQueryQueryParams { account_identifier: string; registry_identifier: string; query: string; /** * @format int64 * @default 0 */ page?: number; /** * @format int64 * @default 20 */ size?: number; } export type SearchFilesOkResponse = ResponseWithPagination; export type SearchFilesErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface SearchFilesProps extends Omit, 'url'> { queryParams: SearchFilesQueryQueryParams; } export declare function searchFiles(props: SearchFilesProps): Promise; /** * Search all the files. */ export declare function useSearchFilesQuery(props: SearchFilesProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;