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 * as operations from "../models/operations/index.js"; import { MutationHookOptions } from "./_types.js"; export type LlmModelsPutOrgAutoModelMutationVariables = { request: operations.PutOrgAutoModelRequest; options?: RequestOptions; }; export type LlmModelsPutOrgAutoModelMutationData = components.OrgAutoModel; export type LlmModelsPutOrgAutoModelMutationError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Set this org's auto-model override for an endpoint * * @remarks * Stores `{ endpoint → modelId }` so subsequent requests with `model: "auto"` for the endpoint resolve to `modelId` instead of the operator's YAML default. The target must (a) not be the literal string `"auto"`, (b) be active in this org's model registry, and (c) have the same `apiFormat` as the endpoint. */ export declare function useLlmModelsPutOrgAutoModelMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyLlmModelsPutOrgAutoModel(): MutationKey; export declare function buildLlmModelsPutOrgAutoModelMutation(client$: SDKCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: LlmModelsPutOrgAutoModelMutationVariables) => Promise; }; //# sourceMappingURL=llmModelsPutOrgAutoModel.d.ts.map