import { MultiAuthOptions } from "../../core"; /** * Multi-auth middleware factory * * Creates Express middleware that supports multiple authentication methods. * The client specifies which method to use via the x-levr-auth-type header. * * @example * ```typescript * // Support both user and API key auth, require Write scope * app.post('/orders', * multiAuth({ * methods: [LevrAuth.PRIVY_USER, LevrAuth.HMAC], * requiredScopes: [ApiKeyScope.Write] * }), * orderController.create * ) * * // Service-to-service only, must be from Orderbook or OracleCore service * app.post('/internal/sync', * multiAuth({ * methods: [LevrAuth.SERVICE_HMAC], * requiredServices: [LevrService.Orderbook, LevrService.OracleCore] * }), * internalController.sync * ) * ``` */ export declare function multiAuth(options: MultiAuthOptions): (req: import("express").Request, res: import("express").Response, next: import("express").NextFunction) => Promise;