import { AuthConnectionTokenResult as AuthConnectionTokenResult$1 } from "../configure/services/auth/types.mjs"; import { ConnectionName } from "@tailor-platform/sdk"; //#region src/runtime/authconnection.d.ts /** * Platform API surface for `tailor.authconnection`. Describes the shape the * platform runtime injects on `globalThis.tailor.authconnection`. */ export interface TailorAuthconnectionAPI { /** * Returns the access token for the given auth connection. * @param connectionName - Auth connection name as defined in tailor.config * @returns Token payload */ getConnectionToken(connectionName: ConnectionName): Promise; } /** Runtime wrapper namespace for `tailor.authconnection`. */ export declare const authconnection: { readonly getConnectionToken: (connectionName: ConnectionName) => Promise; }; //#endregion