export interface TokenPayload {
    exp: number;
    iat: number;
    user: {
        userId: string;
        publicUserId: string;
        deviceInfo: Amity.Device['deviceInfo'];
        networkId: string;
        refreshToken: string;
    };
}
/**
 * ```js
 * import { loginWithAccessToken } from '@amityco/ts-sdk'
 * const success = await loginWithAccessToken('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...')
 * ```
 *
 * Authenticates a user using a pre-existing access token, allowing direct login without user credentials.
 * Designed for customers who manage access tokens on their own backend.
 *
 * @param accessToken JWT access token signed by customer's backend containing user identity
 * @returns true if authentication is successful
 *
 * @category Client API
 * @async
 */
export declare const loginWithAccessToken: (accessToken: string) => Promise<boolean>;
//# sourceMappingURL=loginWithAccessToken.d.ts.map