import { NovuCore } 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 * as errors from "../models/errors/index.js"; import { NovuError } from "../models/errors/novuerror.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import * as operations from "../models/operations/index.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Generate chat OAuth URL * * @remarks * **Deprecated** — use `POST /integrations/channel-connections/oauth` (connect) or `POST /integrations/channel-endpoints/oauth` (link_user) instead. * Generate an OAuth URL for chat integrations like Slack and MS Teams. * This URL allows subscribers to authorize the integration, enabling the system to send messages * through their chat workspace. The generated URL expires after 5 minutes. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ export declare function integrationsGenerateChatOAuthUrl(client: NovuCore, generateChatOauthUrlRequestDto: components.GenerateChatOauthUrlRequestDto, idempotencyKey?: string | undefined, options?: RequestOptions): APIPromise>; //# sourceMappingURL=integrationsGenerateChatOAuthUrl.d.ts.map