import { MutagentCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js"; import * as errors from "../models/errors/index.js"; import { MutagentError } from "../models/errors/mutagent-error.js"; import { ResponseValidationError } from "../models/errors/response-validation-error.js"; import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; import * as models from "../models/index.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Create provider config * * @remarks * Create a new provider configuration. The credential is tested against the live provider BEFORE it is persisted — a failed test returns the provider's own error, scrubbed of the submitted secret, and writes no row. On success the API key is encrypted before storage and is never returned in plain text. */ export declare function providerConfigsCreateProvider(client: MutagentCore, request: models.NameProviderApiKey, options?: RequestOptions): APIPromise>; //# sourceMappingURL=provider-configs-create-provider.d.ts.map