/**
 * @deprecated Use `guard` and catch the error if necessary
 */
export interface ErrorRef {
    error: Error | null;
}
/**
 * @deprecated Use `guard` and catch the error if necessary
 */
export declare function createErrorRef(): ErrorRef;
