import type { TokenProvidedPayload } from '../_contract/event-payloads/token/token-payload'; import { GetTokenOptions } from '../options/get-token-options'; /** * Requests a short-lived signed token (JWT) from Struct PIM for the current app. * * The token is minted server-side and signed with the app's client secret. It can be verified * with the same client secret to confirm it originates from a genuine Struct embedded session * for your tenant. * * The promise rejects with the host's reason if Struct PIM cannot mint a token, and rejects on * timeout if the host does not answer at all. * * @example * ```ts * const { token, expiresAt, issuedAt } = await struct.actions.getToken(); * ``` */ export declare function getToken(options?: GetTokenOptions): Promise; //# sourceMappingURL=get-token.d.ts.map