import type { Plugin } from 'graphql-yoga'; import type { Decoder } from '@cedarjs/api'; import type { CedarGraphQLContext, GraphQLHandlerOptions } from '../types.js'; /** * Envelop plugin for injecting the current user into the GraphQL Context, * based on custom getCurrentUser function. */ export declare const useCedarAuthContext: (getCurrentUser: GraphQLHandlerOptions["getCurrentUser"], authDecoder?: Decoder | Decoder[]) => Plugin; //# sourceMappingURL=useCedarAuthContext.d.ts.map