export declare const SERIALIZED_ERROR_MARKER = "__testplane_serialized_error__";
type UnknownRecord = Record<string, unknown>;
type SerializedWorkerError = UnknownRecord & {
    [SERIALIZED_ERROR_MARKER]: true;
    isThrownNonError?: true;
    value?: unknown;
    message?: string;
    stack?: string;
    name?: string;
};
export declare function deserializeWorkerError(value: unknown): unknown;
export declare function serializeWorkerError(error: unknown): SerializedWorkerError;
export {};
