import { IError } from '../../interfaces/error-message.interface';
export declare class Output<S = IError> {
    private props;
    private constructor();
    get result(): S;
    get isSuccess(): boolean;
    get isFailure(): boolean;
    static fail(error: IError): Output<IError>;
    static success<S = void>(result?: S): Output<S>;
    private static init;
}
