import { type IdentityPlugin, type Middleware } from "@nifrajs/core/server"; export type Composable = Middleware | IdentityPlugin; /** * Compose middleware/plugins into one reusable bundle. Individual named plugins still dedupe. * * The bundle is a type **identity**: everything it contains runs, but context a member adds via * `derive`/`decorate` is not threaded to the caller's handler types (there is no way to sum unknown * members' context at the type level). Apply such a member with its own `.use(...)` instead. */ export declare function combine(...items: readonly Composable[]): IdentityPlugin; /** Compose middleware/plugins into one idempotent named bundle. */ export declare function namedCombine(name: string, ...items: readonly Composable[]): IdentityPlugin; //# sourceMappingURL=combine.d.ts.map