export declare class PyodideUnavailableError extends Error {
    constructor(message: string, options?: {
        cause?: unknown;
    });
}
/**
 * A run bound to a workspace with no worker to run it in. The guest reaches
 * the mounts only through the worker's synchronous bridge, so without one
 * every file of every mount would have to be copied in before each run.
 *
 * Args:
 *   cause: what stopped the worker from starting, absent when the host
 *     has neither shared memory nor a service worker to reach it through.
 */
export declare function noWorker(cause?: unknown): PyodideUnavailableError;
/**
 * A run stopped because the worker passed its `maxMemory`. The worker is
 * gone with the run, so the next run starts a fresh one.
 *
 * Args:
 *   limit: the setting as configured, which the message names.
 */
export declare class PyodideMemoryError extends Error {
    constructor(limit: string);
}
//# sourceMappingURL=errors.d.ts.map