import { GleanCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Check datasource authorization * * @remarks * Returns all datasource instances that require per-user OAuth authorization * for the authenticated user, along with a transient auth token that can be * appended to auth URLs to complete OAuth flows. * * Clients construct the full OAuth URL by combining the backend base URL, * the `authUrlRelativePath` from each instance, and the transient auth token: * `/?transient_auth_token=`. */ export declare function authenticationCheckdatasourceauth(client: GleanCore, options?: RequestOptions): APIPromise>; //# sourceMappingURL=authenticationCheckdatasourceauth.d.ts.map