import { UseMutationOptions } from '@tanstack/react-query'; import type { TypesLabelWithValues } from '../schemas/TypesLabelWithValues'; import type { UsererrorError } from '../schemas/UsererrorError'; import type { TypesSaveLabelInput } from '../schemas/TypesSaveLabelInput'; import type { TypesSaveLabelValueInput } from '../schemas/TypesSaveLabelValueInput'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface SaveSpaceLabelMutationPathParams { space_ref: string; } export type SaveSpaceLabelRequestBody = { label?: TypesSaveLabelInput; values?: TypesSaveLabelValueInput[]; }; export type SaveSpaceLabelOkResponse = ResponseWithPagination; export type SaveSpaceLabelErrorResponse = UsererrorError; export interface SaveSpaceLabelProps extends SaveSpaceLabelMutationPathParams, Omit, 'url'> { body: SaveSpaceLabelRequestBody; } export declare function saveSpaceLabel(props: SaveSpaceLabelProps): Promise; export declare function useSaveSpaceLabelMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;