Sindbad~EG File Manager
import * as express from 'express';
export declare type Path = string | RegExp | {
url: string | RegExp;
method?: string;
methods?: string | string[];
};
export declare type RequestChecker = (req: express.Request) => boolean;
export declare type Params = {
method?: string | string[];
path?: Path | Path[];
ext?: string | string[];
useOriginalUrl?: boolean;
custom?: RequestChecker;
} | RequestChecker;
export declare function unless(options: Params): {
(req: express.Request, res: express.Response, next: express.NextFunction): Promise<void>;
unless: typeof unless;
};
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists