import { Context, Script } from './model/index.js';
export declare const sessionHandlers: Set<SessionConstructor>;
export interface SessionLifecycleHandler {
    onSessionStart?(): Promise<void>;
    onSessionFinish?(): Promise<void>;
    onScriptRun?(script: Script): Promise<void>;
    onContextEnter?(context: Context): Promise<void>;
}
export interface SessionConstructor {
    prototype: SessionLifecycleHandler;
}
export declare function SessionHandler(): (target: SessionConstructor) => void;
//# sourceMappingURL=session.d.ts.map