import type { Except } from 'type-fest'; import type { BasicMetaSysProps, DefaultElements, MakeRequest, SysLink } from '../common-types'; type AppAccessTokenSys = Except & { space: SysLink; environment: SysLink; appDefinition: SysLink; expiresAt: string; }; export type AppAccessTokenProps = { /** * System metadata */ sys: AppAccessTokenSys; /** * Token for an app installation in a space environment */ token: string; }; export type CreateAppAccessTokenProps = { /** * JSON Web Token */ jwt: string; }; export interface AppAccessToken extends AppAccessTokenProps, DefaultElements { } /** * @private * @param makeRequest - function to make requests via an adapter * @param data - Raw app access token data * @return {AppAccessToken} Wrapped AppAccessToken data */ export declare function wrapAppAccessToken(_makeRequest: MakeRequest, data: AppAccessTokenProps): AppAccessToken; export {};