import { Author } from "smc-webapp/share/types";
import { HostInfo } from "./public-paths";
export declare function render_public_path(opts: {
    req: any;
    res: any;
    info?: HostInfo;
    dir: string;
    react: Function;
    path: string;
    viewer: string;
    hidden?: boolean;
    sort: string;
    authors: Author[];
    views?: number;
}): Promise<void>;
