import { UseQueryOptions } from '@tanstack/react-query'; import type { TypesLabel } from '../schemas/TypesLabel'; import type { UsererrorError } from '../schemas/UsererrorError'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListSpaceLabelsQueryPathParams { space_ref: string; } export interface ListSpaceLabelsQueryQueryParams { /** * @default 1 */ page?: number; /** * @default 30 */ limit?: number; inherited?: boolean; query?: string; } export type ListSpaceLabelsOkResponse = ResponseWithPagination; export type ListSpaceLabelsErrorResponse = UsererrorError; export interface ListSpaceLabelsProps extends ListSpaceLabelsQueryPathParams, Omit, 'url'> { queryParams: ListSpaceLabelsQueryQueryParams; } export declare function listSpaceLabels(props: ListSpaceLabelsProps): Promise; export declare function useListSpaceLabelsQuery(props: ListSpaceLabelsProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;