import express from "express";
import { RedisWrapConfig } from "@dobuki/data-client/dist/redis/redis-wrap";
export interface Config {
    redisConfig?: RedisWrapConfig;
    github: {
        owner: string;
        repo: string;
    };
    newgrounds?: {
        key: string;
        skey: string;
    }[];
    secret?: {
        secret: string;
    };
    nocache?: boolean;
    nolock?: boolean;
    moderator?: (imageUrl: string) => Promise<boolean>;
}
export declare function addRoutes(app: express.Express, config: Config): void;
