import type { ProjectSettings } from '@dynamic-labs/sdk-api-core';
import type { DynamicCoreState } from '../core/types';
/**
 * The client object needed to work with Dynamic SDK's functionality.
 */
export type DynamicClient = {
    /**
     * The error that caused client initialization to fail, or `null` when
     * initialization has not failed.
     *
     * Populated together with `initStatus === 'failed'`, so reading it tells you
     * *why* initialization failed, not just that it did. Reset to `null` when
     * initialization restarts.
     */
    readonly initError: DynamicCoreState['initError'];
    /**
     * Status of client initialization.
     * @hook Useful reactive helper for rendering based on initialization state.
     */
    readonly initStatus: DynamicCoreState['initStatus'];
    /**
     * The MFA token of the current user.
     */
    readonly mfaToken: string | null;
    /**
     * The settings of your Dynamic project as configured in dashboard.
     */
    readonly projectSettings: ProjectSettings | null;
    /**
     * The session expiration date.
     * @hook Useful reactive helper for session-expiry-aware UI.
     */
    readonly sessionExpiresAt: DynamicCoreState['sessionExpiresAt'];
    /**
     * The JWT of the current user.
     */
    readonly token: string | null;
    /**
     * The current user of the app.
     * @hook Useful reactive helper for accessing the authenticated user.
     */
    readonly user: DynamicCoreState['user'];
};
//# sourceMappingURL=DynamicClient.d.ts.map