import { EcoFlow, EcoEditors as IEcoEditors } from "@ecoflow/types"; /** * Class representing EcoEditors that implements EcoEditors interface. */ export declare class EcoEditors implements IEcoEditors { private server; private router; private isAuth; /** * Constructs an EcoFlow object with the provided server, router, and isAuth properties. * @param {EcoFlow} server - The server object. * @param {EcoFlow} router - The router object. * @param {EcoFlow} isAuth - The authentication status. * @returns None */ constructor({ server, router, isAuth }: EcoFlow); /** * Initializes the editors router. * If systemRouterOptions is empty, it sets a default prefix of "/systemApi". * Finally, it creates and sets up the router for the system and adds it to the server middleware. * @returns Promise */ private initializeEditorsRouter; /** * Sets up a default redirect route to "/auth" using EcoRouter. * @returns None */ private defaultRedirect; /** * Asynchronously loads the editors based on the environment and configuration settings. * If the environment is in development, it sets up proxy routes and initializes the editors router. * If the environment is not in development, it configures the editor settings based on the configuration. * @returns Promise */ loadEditors(): Promise; /** * Loads the routes for the editors API. * @returns None */ static loadEditorsRoutes(): void; } //# sourceMappingURL=EcoEditors.d.ts.map