///
///
import { Cancellable } from "./cancellable";
import { Crash } from "./crash";
import { PortalMembership } from "./portal_membership";
import { Relay } from "./relay";
import { Script, ScriptOptions } from "./script";
import { Signal } from "./signals";
import { inspect } from "util";
export declare class Session {
private impl;
detached: Signal;
constructor(impl: any);
get pid(): number;
get persistTimeout(): number;
get isDetached(): boolean;
detach(cancellable?: Cancellable): Promise;
resume(cancellable?: Cancellable): Promise;
enableChildGating(cancellable?: Cancellable): Promise;
disableChildGating(cancellable?: Cancellable): Promise;
createScript(source: string, options?: ScriptOptions, cancellable?: Cancellable): Promise