import { BaseResponse } from '../api/types'; export declare class Result> { private _value?; private notification?; private status?; private constructor(); static ok(value?: U, status?: boolean): Result; static fail(notification: string, status?: boolean): Result; isSuccess(): boolean; isFailure(): boolean; clean(): Result; get value(): T | undefined; getFlatValue(): T | undefined; getError(): string | undefined; getStatus(): boolean; } export declare function isolate(data: T): T & { toFlat(): T; };