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 DefineSpaceLabelMutationPathParams { space_ref: string; } export type DefineSpaceLabelRequestBody = { color?: EnumLabelColor; description?: string; key?: string; type?: EnumLabelType; }; export type DefineSpaceLabelOkResponse = ResponseWithPagination; export type DefineSpaceLabelErrorResponse = UsererrorError; export interface DefineSpaceLabelProps extends DefineSpaceLabelMutationPathParams, Omit, 'url'> { body: DefineSpaceLabelRequestBody; } export declare function defineSpaceLabel(props: DefineSpaceLabelProps): Promise; export declare function useDefineSpaceLabelMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;