import type { FastifyRequest, FastifyReply } from 'fastify'; import type { OpenleashConfig, DataStore, ServerPluginManifest } from '@openleash/core'; export interface AdminSession { principal_id: string | null; auth_method: 'session' | 'token' | 'localhost'; } export declare function createAdminAuth(config: OpenleashConfig, store: DataStore, pluginManifest?: ServerPluginManifest): (request: FastifyRequest, reply: FastifyReply) => Promise; //# sourceMappingURL=admin-auth.d.ts.map