import { UseMutationOptions } from '@tanstack/react-query'; import type { TypesLabel } from '../schemas/TypesLabel'; import type { UsererrorError } from '../schemas/UsererrorError'; import type { EnumLabelColor } from '../schemas/EnumLabelColor'; import type { EnumLabelType } from '../schemas/EnumLabelType'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface UpdateSpaceLabelMutationPathParams { space_ref: string; key: string; } export type UpdateSpaceLabelRequestBody = { color?: EnumLabelColor; description?: string; key?: string; type?: EnumLabelType; }; export type UpdateSpaceLabelOkResponse = ResponseWithPagination; export type UpdateSpaceLabelErrorResponse = UsererrorError; export interface UpdateSpaceLabelProps extends UpdateSpaceLabelMutationPathParams, Omit, 'url'> { body: UpdateSpaceLabelRequestBody; } export declare function updateSpaceLabel(props: UpdateSpaceLabelProps): Promise; export declare function useUpdateSpaceLabelMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;