import type { TransportMiddleware } from '../core/types.js'; import type { IDialect } from '@mostajs/orm'; /** * Build the account-scope middleware bound to a metadata dialect. * * @param getMetaDialect Returns the dialect that hosts accounts + apikeys * (le singleton octoswitcher dans la majorite des cas). */ export declare function createAccountScopeMiddleware(getMetaDialect: () => IDialect | null | undefined): TransportMiddleware;