import { UseQueryOptions } from '@tanstack/react-query'; import type { SlackTokenResponseResponse } from '../responses/SlackTokenResponseResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface SlackOauthTokenGenerateQueryQueryParams { authorization_code?: string; } export type SlackOauthTokenGenerateOkResponse = ResponseWithPagination; export type SlackOauthTokenGenerateErrorResponse = unknown; export interface SlackOauthTokenGenerateProps extends Omit, 'url'> { queryParams: SlackOauthTokenGenerateQueryQueryParams; } export declare function slackOauthTokenGenerate(props: SlackOauthTokenGenerateProps): Promise; /** * Internal API to generate OAuth Token for Slack */ export declare function useSlackOauthTokenGenerateQuery(props: SlackOauthTokenGenerateProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;