/** * Determines if the application is running in a local development environment. * * This function checks for the presence of the AWS_LAMBDA_FUNCTION_NAME environment * variable to determine if the code is running in AWS Lambda (production) or * locally (development). * * @returns True if running locally, false if running in AWS Lambda * * @example * ```typescript * if (isLocal()) { * console.log('Running in development mode'); * } else { * console.log('Running in production (AWS Lambda)'); * } * ``` */ export declare const isLocal: () => boolean; /** * Log an internal MRT error. * * @param namespace Namespace for the error (e.g. data_store, redirect) to facilitate searching * @param err Error to log * @param context Optional context to include in the log */ export declare const logMRTError: (namespace: string, err: unknown, context?: Record) => void;