1 |
|
2 | import { MiddlewareMethod } from '../types/middleware';
|
3 | export declare const sha256: (preimage: Buffer) => Buffer;
|
4 | export declare function moduleExists(path: string): boolean;
|
5 | export declare const loadModuleFromPathOrDirectly: (searchPath: string, module: string) => string | null;
|
6 | export declare const loadModuleOfType: (type: string, name: string) => any;
|
7 | export declare const extractDefaultsFromSchema: (schema: any, path?: string) => any;
|
8 | export declare function composeMiddleware<T, U>(middleware: MiddlewareMethod<T, U>[]): MiddlewareMethod<T, U>;
|
9 | export declare function uuid(): string;
|
10 | export declare function hmac(secret: Buffer, message: string | Buffer): Buffer;
|