type ErrorWithMessage = {
    message: string;
};
export declare const isErrorWithMessage: (error: unknown) => error is ErrorWithMessage;
export declare function toErrorWithMessage(maybeError: unknown): ErrorWithMessage;
export declare const getErrorMessage: (error: unknown) => string;
export declare const throwErrorMessage: (error: unknown) => never;
export {};
