/// /// /// import { Context } from './types'; /** * Create a JSON parser for a validator that yield the object back or null */ export declare const json: (vld: (d: any) => T) => (c: Context) => Promise; /** * Create a JSON parser for a validator that returns a boolean to check whether * The JSON object has correct type or not */ export declare const jsonv: (vld: (d: any) => d is T) => (c: Context) => Promise; /** * Create a form parser */ export declare const form: (c: Context) => Promise; /** * Create a blob parser */ export declare const blob: (c: Context) => Promise; /** * Create a text parser */ export declare const text: (c: Context) => Promise; /** * Create an array buffer parser */ export declare const buffer: (c: Context) => Promise;