import { Run, Session } from "./api/types"; import { SerializedParamValues } from "./params/params_serialized"; export declare const TASK_MUST_BE_REQUESTED_ERROR_CODE = "task_must_be_requested"; export declare class RunTerminationError extends Error { readonly run: Run; readonly slug?: string | undefined; constructor(run: Run, slug?: string | undefined); } export declare class RequestRejectionError extends Error { constructor(); } export declare class PromptCancelledError extends Error { constructor(); } export declare class SessionTerminationError extends Error { readonly session: Session; constructor(session: Session); }