import type { Context } from '../index'; /** * Creates a function that adds VTEX API AppKey and AppToken headers to requests. * These credentials are used for server-to-server authentication with VTEX APIs. * * @returns A function that accepts additional headers and returns them merged with authentication headers * @throws {ForbiddenError} When FS_DISCOVERY_APP_KEY or FS_DISCOVERY_APP_TOKEN environment variables are not set */ export declare const getWithAppKeyAndToken: () => >(additionalHeaders?: T) => T & { 'X-VTEX-API-AppKey': string; 'X-VTEX-API-AppToken': string; }; /** * Utility function to validate user authentication * Centralized validation logic for all account-related resolvers */ export declare const validateUserAuthentication: (ctx: Context) => Promise; //# sourceMappingURL=auth.d.ts.map