export type Interrupt = {
    type: string;
    data?: unknown;
    priority: number;
    enabled: boolean;
    handler?: () => void;
};
export declare enum ExitStatus {
    SUCCESS = 0,
    ERROR = 1
}
export type GraphRuntime<C> = {
    context: C;
    version: number;
    exit: (status: ExitStatus) => void;
    interrupt: (interrupt: Interrupt) => void;
    addShutdownHook: (hook: () => void | Promise<void>) => void;
};
export declare const mockGraphRuntime: GraphRuntime<unknown>;
export declare function createGraphRuntime<C>(context: C): GraphRuntime<C>;
//# sourceMappingURL=runtime.d.ts.map