1 | import * as JoiLib from 'joi';
|
2 | import { ExtendedNumberSchema } from './number.extensions';
|
3 | import { ExtendedStringSchema } from './string.extensions';
|
4 | export interface ExtendedJoi extends JoiLib.Root {
|
5 | string(): ExtendedStringSchema;
|
6 | number(): ExtendedNumberSchema;
|
7 | }
|
8 | /**
|
9 | * This is the only right place to import Joi from
|
10 | */
|
11 | export declare const Joi: ExtendedJoi;
|