import { EcoServer } from "@ecoflow/types"; import { StrategyOptionsWithoutRequest } from "passport-jwt"; /** * Represents a Passport class that handles authentication using JWT tokens. * @param {EcoServer} svr - The EcoServer instance to use for authentication. * @param {StrategyOptionsWithoutRequest} [options] - The options for the authentication strategy. * @constructor */ export declare class Passport { private svr; private options; private passport; /** * Constructs a new instance of the class. * @param {EcoServer} svr - The EcoServer instance. * @param {StrategyOptionsWithoutRequest} [options] - The options for the strategy without request. * @returns None */ constructor(svr: EcoServer, options?: StrategyOptionsWithoutRequest); /** * Initializes the application by setting up the necessary strategies, keys, session, and passport. * @returns None */ init(): void; /** * Initializes the authentication strategy for the application. * This method sets up serialization, deserialization, and a JwtStrategy for passport. * @returns None */ private initStrategy; } //# sourceMappingURL=Passport.d.ts.map