import type express from 'express'; import type { LogContext } from '@rocicorp/logger'; import type { PrismaClient, Prisma } from '@prisma/client'; export declare function index(_: express.Request, res: express.Response, _2: LogContext): void; export declare function populateForFun(_: express.Request, res: express.Response, lc: LogContext): Promise; export declare function licenseView(req: express.Request, res: express.Response, lc: LogContext): Promise; export declare function activesView(req: express.Request, res: express.Response, _2: LogContext): Promise; export declare function activesForLicenseInWindow(licenseKey: string, gte: Date, lte: Date, _: LogContext): Promise; export declare type ActivesInWindowResult = { customerId: number; customerName: string; email: string; project: string | undefined; commercial: boolean; licenseKey: string; cnt: number; }; export declare function activesInWindow(gte: Date, lte: Date): Promise; export declare function newSignupsView(req: express.Request, res: express.Response, _2: LogContext): Promise; export declare type NewSignupActivesResult = { customerId: number; createdAt: Date; name: string; project: string | undefined; email: string; licenseKey: string; commercial: boolean; cnt: number; }; export declare function newSignupActives(n: number): Promise; export declare function downloadActives(_: express.Request, res: express.Response, _2: LogContext): Promise; export declare function cleanForCSV(s: string): string; declare type LicensePings = { licenseKey: string; profiles: ProfilePings[]; }; declare type ProfilePings = { profileID: string; dates: string[]; }; export declare function populateActives(prisma: PrismaClient, licensePings: LicensePings[]): Promise; export {};