export declare function validationMock(flow: string): {
    state: {
        error: null | {
            code: string;
            message: string;
        };
    };
    build: <T>(api: T) => {
        error: (code: string, message: string) => T;
    };
};
//# sourceMappingURL=validation.d.ts.map