UNPKG

860 BTypeScriptView Raw
1/**
2 * @license
3 * MOST Web Framework 2.0 Codename Blueshift
4 * Copyright (c) 2017, THEMOST LP All rights reserved
5 *
6 * Use of this source code is governed by an BSD-3-Clause license that can be
7 * found in the LICENSE file at https://themost.io/license
8 */
9import {BeginRequestHandler} from "../types";
10import {HttpContext} from "../context";
11
12export declare class PostHandler implements BeginRequestHandler{
13 beginRequest(context: HttpContext, callback: (err?: Error) => void);
14
15}
16
17export declare class UnknownValue {
18 static convert(value: string): any;
19
20 static DateTimeRegex: RegExp;
21 static BooleanTrueRegex: RegExp;
22 static BooleanFalseRegex: RegExp;
23 static NullRegex: RegExp;
24 static UndefinedRegex: RegExp;
25 static IntegerRegex: RegExp;
26 static FloatRegex: RegExp;
27}
28
29export declare function createInstance(): PostHandler;
\No newline at end of file