import type { Plugin } from '@envelop/types';
export interface RawAuth {
    authType: 'jwt' | 'apiKey' | 'devBypass' | null;
    token: string | null;
}
/**
 * AuthPlugin - Extracts authentication credentials from request headers.
 *
 * This plugin is part of the Auth0 authentication system.
 * It ONLY handles credential extraction. Verification and context creation
 * are delegated to the AuthContextProvider.
 *
 * Responsibilities:
 * 1. Extract `X-Dev-Auth: <user-id>` (Dev Bypass, gated by ALLOW_DEV_AUTH=1)
 * 1. Extract `Authorization: Bearer <token>` (JWT)
 * 2. Extract `X-API-Key: <key>` (API Key)
 * 3. Add `rawAuth` object to Yoga context
 */
export declare const authPlugin: () => Plugin<{
    rawAuth: RawAuth;
}>;
