import type { Request, Response, NextFunction } from "express"; import type { Event, Props } from "../../records/Event"; import type { Globals } from "../../records/Loglady"; export declare const originRedirects: { COMPASS: string; ACCOUNT: string; }; declare type LogGlobals = { project: string; module?: string; }; declare type Options = { isDevelopment: boolean; log?: (ev: Event, props: Props, globals: Globals) => Promise; logGlobals?: LogGlobals; cookieOptions?: { secure: boolean; maxAge: number; }; }; declare const handleOAuthRedirect: (options: Options) => (req: Request, res: Response, next: NextFunction) => void; export default handleOAuthRedirect;