import type Elysia from 'elysia'; import type { EdenQueryConstraints, EdenQueryStoreKey } from '../constraints'; import type { GenericElysiaPlugin } from './types'; export type EdenPluginOptions = EdenQueryConstraints; /** * Combines both the batch and transform plugins, ___and orders them properly___. * * The transform plugin (if used) needs to be set before the batch plugin. * * -- * * Type Invariants * * > Constraints that are captured on the type-level. * * If the server has enabled batching, the client can use batching if desired. * If the server has NOT enabled batching, the client can NOT use a batch link. * * If the server has enabled a transformer, the client MUST apply the same transformer. * If the server has NOT enabled any transformers, the client can opt-in to using a transformer; * this is at your own risk, since eden allows transformers to be specified for any request, * but it's not guranteed to be parsed correctly by the server... */ export declare function safeEdenPlugin(config: T): (elysia: Elysia) => Elysia; derive: {}; resolve: {}; }>; /** * Combines both the batch and transform plugins, ___and orders them properly___. * * The transform plugin (if used) needs to be set before the batch plugin. * * -- * * Type Invariants * * > Constraints that are captured on the type-level. * * If the server has enabled batching, the client can use batching if desired. * If the server has NOT enabled batching, the client can NOT use a batch link. * * If the server has enabled a transformer, the client MUST apply the same transformer. * If the server has NOT enabled any transformers, the client can opt-in to using a transformer; * this is at your own risk, since eden allows transformers to be specified for any request, * but it's not guranteed to be parsed correctly by the server... */ export declare function edenPlugin(config: EdenQueryConstraints): GenericElysiaPlugin; export * from './batch'; export * from './transform'; //# sourceMappingURL=index.d.ts.map