import { MutationKey, UseMutationResult } from "@tanstack/react-query"; import { SDKCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKError } from "../models/errors/sdkerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { MutationHookOptions } from "./_types.js"; export type LlmModelsActivateRegistryEntryMutationVariables = { request: components.ActivateRegistryEntryRequest; options?: RequestOptions; }; export type LlmModelsActivateRegistryEntryMutationData = components.RegistryEntryResponse; export type LlmModelsActivateRegistryEntryMutationError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Activate a catalog entry * * @remarks * Claims a model name from one catalog source. Re-activation from the same source is idempotent; a different holder returns 409. */ export declare function useLlmModelsActivateRegistryEntryMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyLlmModelsActivateRegistryEntry(): MutationKey; export declare function buildLlmModelsActivateRegistryEntryMutation(client$: SDKCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: LlmModelsActivateRegistryEntryMutationVariables) => Promise; }; //# sourceMappingURL=llmModelsActivateRegistryEntry.d.ts.map