import { TypedSchema, RequestValidatorNode, ParsedTypedSchema } from '@ioc:Adonis/Core/Validator';
declare module '@ioc:Adonis/Core/Request' {
    interface RequestContract {
        /**
         * Validate current request. The data is optional here, since request
         * can pre-fill it for us
         */
        validate<T extends ParsedTypedSchema<TypedSchema>>(validator: RequestValidatorNode<T>): Promise<T['props']>;
    }
}
