export declare class Validation<T> {
    readonly valid: Promise<boolean>;
    readonly value: T;
    get invalid(): Promise<boolean>;
    constructor(valid: boolean | Promise<boolean>, value: T);
    onValid(callback: (value: T) => any): Promise<boolean>;
    onInvalid(callback: (value: T) => any): Promise<boolean>;
}
//# sourceMappingURL=validation.d.ts.map