import { Session } from '@sentry/core'; /** Starts a session */ export declare function startSession(sendOnCreate: boolean): void; /** Cleanly ends a session */ export declare function endSession(): Promise; /** Determines if a Date is likely to have occurred in the previous uncompleted session */ export declare function unreportedDuringLastSession(crashDate: Date | undefined): Promise; /** Sets the previous session as the current session and returns any existing session */ export declare function setPreviousSessionAsCurrent(): Promise; /** Restores a session */ export declare function restorePreviousSession(session: Session): void; /** Report the previous session as abnormal */ export declare function previousSessionWasAbnormal(): Promise; /** Checks if the previous session needs sending as crashed or abnormal */ export declare function checkPreviousSession(crashed: boolean): Promise; /** Sets the current session as crashed */ export declare function sessionCrashed(): void; /** Sets the current session as ANR */ export declare function sessionAnr(): void; /** * End the current session on app exit */ export declare function endSessionOnExit(): void; //# sourceMappingURL=sessions.d.ts.map