export interface SessionWebSocketHandlerHost {
    sessionId?: string | null;
    server?: {
        getWebSocketHandlers?: (sessionId: string) => Promise<Record<string, unknown>>;
        removeWebSocketHandler: (pathname: string) => Promise<void>;
    } | null;
}
export interface SafariUrlSessionOpts {
    safariInitialUrl?: string | null;
    noReset?: boolean;
    initialDeeplinkUrl?: string | null;
}
/**
 * Stops and removes all web socket handlers that are listening
 * in scope of the current session.
 */
export declare function removeAllSessionWebSocketHandlers(this: SessionWebSocketHandlerHost): Promise<void>;
/** Whether the initial Safari URL should be pushed at session start. */
export declare function shouldSetInitialSafariUrl(opts: SafariUrlSessionOpts): boolean;
//# sourceMappingURL=session.d.ts.map