import type { Core } from "@strapi/strapi"; declare const controller: ({ strapi }: { strapi: Core.Strapi; }) => { /** * Download the logs as a CSV file * * Accepts a `start` and `end` query parameter to filter the logs by date */ download(ctx: any): Promise; /** * Find all logs */ find(ctx: any): Promise; /** * Find one log */ findOne(ctx: any): Promise<{ data: any; }>; /** * Get the total number of requests, login requests, register requests, and error requests for the dashboard */ dashboardTotals(ctx: any): Promise; /** * Get the total number of requests over time based on the filterBy query parameter * * filterBy: `week` | `month` */ requestOverTime(ctx: any): Promise; /** * Get the total number of logins vs register requests over time based on the filterBy query parameter * * filterBy: `week` | `month` */ loginVsRegister(ctx: any): Promise; /** * Get the total number of GET, POST, PUT, DELETE, PATCH, "Logged in" & "Account created" requests over time based on the filterBy query parameter * * filterBy: `week` | `month` */ mostAccessed(ctx: any): Promise; }; export default controller;