import { NextFunction, Request, Response } from 'express'; export declare type Middleware = (req: Request, res: Response, next: NextFunction) => void; export declare type Callback = (err: Error, css: string, js: string) => void; export declare const stylus: { getMiddleware(options: { dest: string; src: string; }): Middleware; getWidgetCSS(str: string, callback: Callback): void; };